summaryrefslogtreecommitdiffstats
path: root/lib/getopt.c
diff options
context:
space:
mode:
authorpaul <paul>2005-05-15 16:25:08 +0200
committerpaul <paul>2005-05-15 16:25:08 +0200
commit024a7f06979b467299a85e915b78af456a89e3a6 (patch)
treee9c28719f8812dd808699dd6108532d9526a476b /lib/getopt.c
parent- revert the commenting of touch doc/quagga.info, wont work because (diff)
downloadfrr-024a7f06979b467299a85e915b78af456a89e3a6.tar.xz
frr-024a7f06979b467299a85e915b78af456a89e3a6.zip
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 426b29bf7..329e93951 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)'. */