summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 2451dbed..2c7edd92 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -59,6 +59,9 @@ typedef int socklen_t;
#include <sys/types.h>
#include <sys/param.h>
#ifdef HAVE_SYS_SYSCTL_H
+#ifdef GNU_LINUX
+#include <linux/types.h>
+#endif
#include <sys/sysctl.h>
#endif /* HAVE_SYS_SYSCTL_H */
#include <sys/ioctl.h>