X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=lib%2Fgetopt.h;h=237cbae541e716ea046fc55c35b1362014dada87;hb=4d002569dc503474a53e824e3f72b10a09c9a2b5;hp=0dd4608cd8a6bbd671631db8cb6e7a4a0c721d23;hpb=c00a22894b82ff53b42c1e741a7b4828199a1388;p=fio.git diff --git a/lib/getopt.h b/lib/getopt.h index 0dd4608c..237cbae5 100644 --- a/lib/getopt.h +++ b/lib/getopt.h @@ -1,9 +1,8 @@ -#ifndef _AIX -#ifndef __hpux +#if !(defined(_AIX) || defined(__hpux)) #include -#else /* _AIX */ +#else /* _AIX || __hpux */ #ifndef _GETOPT_H #define _GETOPT_H @@ -24,5 +23,4 @@ enum { int getopt_long_only(int, char *const *, const char *, const struct option *, int *); #endif /* _GETOPT_H */ -#endif /* __hpux */ -#endif /* _AIX */ +#endif /* _AIX || __hpux */