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
commit2ee410d443a1ffcebdc7cfbdbc13efa76fd4dfa4 (patch)
treeb896aae45968426d8803bc2bbcfe2c4ac82a8005 /lib/getopt1.c
parentf9233238a3848f3183e4d3d7e00cd28cca0b360f (diff)
downloadquagga-2ee410d443a1ffcebdc7cfbdbc13efa76fd4dfa4.tar.bz2
quagga-2ee410d443a1ffcebdc7cfbdbc13efa76fd4dfa4.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__