diff options
Diffstat (limited to 'getopt.c')
-rw-r--r-- | getopt.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -58,9 +58,12 @@ /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ -#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) -/* Don't include stdlib.h for non-GNU C libraries and non-Cygwin because some - of them contain conflicting prototypes for getopt. */ +#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(DJGPP) +/* Don't include stdlib.h for + * non-GNU C libraries + * non-Cygwin + * non-DJGPP + * because some of them contain conflicting prototypes for getopt. */ # include <stdlib.h> # include <unistd.h> #endif /* GNU C library. */ |