summaryrefslogtreecommitdiffstats
path: root/lib/getopt1.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/getopt1.c
parent14c1f187acdca1278e035e30d4c036d6eacf9721 (diff)
downloadquagga-024a7f06979b467299a85e915b78af456a89e3a6.tar.bz2
quagga-024a7f06979b467299a85e915b78af456a89e3a6.tar.xz
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/getopt1.c')
-rw-r--r--lib/getopt1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/getopt1.c b/lib/getopt1.c
index ff257374..985f12c5 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#include <zebra.h>
#include "getopt.h"
#if !defined __STDC__ || !__STDC__