summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index b742e71848..3fe61c801e 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -115,11 +115,7 @@
#include <net/route.h>
-#ifdef HAVE_NETLINK
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
-#include <linux/filter.h>
-#else
+#ifndef HAVE_NETLINK
#define RT_TABLE_MAIN 0
#define RT_TABLE_LOCAL RT_TABLE_MAIN
#endif /* HAVE_NETLINK */