summaryrefslogtreecommitdiff
path: root/lib/getopt.c
diff options
context:
space:
mode:
authorpaul <paul>2005-05-15 14:25:08 +0000
committerpaul <paul>2005-05-15 14:25:08 +0000
commit024a7f06979b467299a85e915b78af456a89e3a6 (patch)
treee9c28719f8812dd808699dd6108532d9526a476b /lib/getopt.c
parent14c1f187acdca1278e035e30d4c036d6eacf9721 (diff)
2005-05-15 Paul Jakma <paul@dishone.st>
* getopt.h: It's not just __GNU_LIBRARY__ which defines getopt, eg __EXTENSIONS__ does too on SunOS. It still seems awfully fragile though. * getopt.c: include zebra.h after config.h, before including getopt.h so that things at least are consistent.. * getopt1.c: ditto
Diffstat (limited to 'lib/getopt.c')
-rw-r--r--lib/getopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/getopt.c b/lib/getopt.c
index 426b29bf..329e9395 100644
--- a/lib/getopt.c
+++ b/lib/getopt.c
@@ -34,6 +34,8 @@
# include <config.h>
#endif
+#include <zebra.h>
+
#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */