aboutsummaryrefslogtreecommitdiffstats
path: root/getopt.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-05-27 18:23:42 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-05-27 18:23:42 +0300
commit00ecdecc62eb8f9ec96c1db2f536cbc4e9f4fcdd (patch)
treedef54d6146853574e2f6c88cbd7a51a80f3db4af /getopt.c
parent89132a36e6d4c36dfc246b87a169771c6f11be31 (diff)
downloadegawk-00ecdecc62eb8f9ec96c1db2f536cbc4e9f4fcdd.tar.gz
egawk-00ecdecc62eb8f9ec96c1db2f536cbc4e9f4fcdd.tar.bz2
egawk-00ecdecc62eb8f9ec96c1db2f536cbc4e9f4fcdd.zip
Minor fix for Mac OS X.
Diffstat (limited to 'getopt.c')
-rw-r--r--getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getopt.c b/getopt.c
index e27848da..053a4604 100644
--- a/getopt.c
+++ b/getopt.c
@@ -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