summaryrefslogtreecommitdiffstats
path: root/lib/zconfig.h
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
committerChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
commitf9956b9524ddafdb9d0cec042213eaa8229aad8c (patch)
treebf362c892837ef3f5a6a4d4265eb18e1b47ccf33 /lib/zconfig.h
parent9470cb2c32eab220f796b1438b787528272cbe84 (diff)
downloadquagga-ex15p.tar.bz2
quagga-ex15p.tar.xz
Bring "ex" version up to date with 0.99.18ex15p
Release: 0.99.18ex15p -- Pipework Branch Also fixes issue with unknown attributes -- does not release them prematurely. Contains the "bgpd: New show commands for improved view and address family support", which is post 0.99.18. (But not RFC 5082 GTSM.)
Diffstat (limited to 'lib/zconfig.h')
-rw-r--r--lib/zconfig.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/zconfig.h b/lib/zconfig.h
index afde09c6..f1bd6f78 100644
--- a/lib/zconfig.h
+++ b/lib/zconfig.h
@@ -25,10 +25,18 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "config.h"
-#if _GNU_SOURCE
-#include <features.h>
+#undef _THREAD_SAFE
+#define _THREAD_SAFE 1
+
+#undef _REENTRANT
+#define _REENTRANT 1
+
+#ifdef _FEATURES_H
+#error Features defined
#endif
+#include <features.h>
+
#endif /* HAVE_CONFIG_H */
#endif /* _ZEBRA_CONFIG_H */