summaryrefslogtreecommitdiffstats
path: root/lib/zconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zconfig.h')
-rw-r--r--lib/zconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zconfig.h b/lib/zconfig.h
index 052bfe99..afde09c6 100644
--- a/lib/zconfig.h
+++ b/lib/zconfig.h
@@ -22,7 +22,13 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#define _ZEBRA_CONFIG_H
#ifdef HAVE_CONFIG_H
+
#include "config.h"
+
+#if _GNU_SOURCE
+#include <features.h>
+#endif
+
#endif /* HAVE_CONFIG_H */
#endif /* _ZEBRA_CONFIG_H */