summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 7d907ed7..3a93b7a9 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -25,6 +25,10 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "config.h"
#endif /* HAVE_CONFIG_H */
+#ifdef GNU_LINUX
+#define _GNU_SOURCE
+#endif /* GNU_LINUX */
+
#ifdef SUNOS_5
#define _XPG4_2
#define __EXTENSIONS__