From 772793d99fbb08a03576c375b870ec36bb11cb8d Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 24 Dec 2013 21:42:53 +0200 Subject: Fix getopt.c for Illumos. --- getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getopt.c') 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 -- cgit v1.2.3