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
diff --git a/lib/getopt1.c b/lib/getopt1.c
index ff25737..985f12c 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__