diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-08 12:21:35 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-04-08 12:21:35 +0300 |
commit | db344a800133d00132fd85b546532affb4b3cf77 (patch) | |
tree | c94602c6383114c883e437aa48b31cd231f3234b /getopt.c | |
parent | 0714b773d7f4853fb2ba95a7b36d0230bad81dc9 (diff) | |
parent | abde9f31440e862d4fd51605d8fade099b602cb5 (diff) | |
download | egawk-db344a800133d00132fd85b546532affb4b3cf77.tar.gz egawk-db344a800133d00132fd85b546532affb4b3cf77.tar.bz2 egawk-db344a800133d00132fd85b546532affb4b3cf77.zip |
Merge branch 'gawk-4.0-stable'
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. */ |