From 089476b5415e9844175a2fbf1bde6faf18ae0b61 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 28 Mar 2012 21:45:38 +0200 Subject: Additional getopt fix, for DJGPP this time. --- getopt.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'getopt.c') diff --git a/getopt.c b/getopt.c index b1f854af..58df01a0 100644 --- a/getopt.c +++ b/getopt.c @@ -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 # include #endif /* GNU C library. */ -- cgit v1.2.3