aboutsummaryrefslogtreecommitdiffstats
path: root/getopt.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-12-24 21:42:53 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-12-24 21:42:53 +0200
commit772793d99fbb08a03576c375b870ec36bb11cb8d (patch)
treedb64328b11b11dc89a60f49df8f6ed72dd06f890 /getopt.c
parent1b21d20939d92024077639a2d828eb82fc1fe206 (diff)
downloadegawk-772793d99fbb08a03576c375b870ec36bb11cb8d.tar.gz
egawk-772793d99fbb08a03576c375b870ec36bb11cb8d.tar.bz2
egawk-772793d99fbb08a03576c375b870ec36bb11cb8d.zip
Fix getopt.c for Illumos.
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 fa258382..a45e30f4 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__) || defined(__APPLE__) || defined(__MINGW32__)
+#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__) || defined(__DJGPP__) || defined(__APPLE__) || defined(__MINGW32__) || defined(__sun) /* Illumos */
/* Don't include stdlib.h for
* non-GNU C libraries
* non-Cygwin