diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | getopt.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2013-05-26 Arnold D. Robbins <arnold@skeeve.com> + + * getopt.c: For Mac OS X, also include <stdlib.h> to avoid + some compiler warnings. + 2013-05-20 Arnold D. Robbins <arnold@skeeve.com> * gawkapi.h [FAKE_FD_VALUE]: Moved from here to ... @@ -57,7 +57,7 @@ /* This needs to come after some library #include to get __GNU_LIBRARY__ defined. */ -#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) +#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) || defined(__APPLE__) /* Don't include stdlib.h for * non-GNU C libraries * non-Cygwin |