summaryrefslogtreecommitdiffstats
path: root/zebra/rtread_netlink.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-26 19:49:15 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-31 23:03:30 +0200
commitddfeb48652f8318acc8b18c2c377515de2bf1b31 (patch)
treee4825eefb3fee2b1c5f0d7b5c6817bac77a1c313 /zebra/rtread_netlink.c
parentbuild: convert zebra/ to non-recursive build (diff)
downloadfrr-ddfeb48652f8318acc8b18c2c377515de2bf1b31.tar.xz
frr-ddfeb48652f8318acc8b18c2c377515de2bf1b31.zip
build: zebra: remove *_method Makefile hacks
replace with preprocessor checks in source files. Much simpler... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rtread_netlink.c')
-rw-r--r--zebra/rtread_netlink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rtread_netlink.c b/zebra/rtread_netlink.c
index 304f44136..f38cba65e 100644
--- a/zebra/rtread_netlink.c
+++ b/zebra/rtread_netlink.c
@@ -21,6 +21,8 @@
#include <zebra.h>
+#ifdef GNU_LINUX
+
#include "vty.h"
#include "zebra/zserv.h"
#include "zebra/rt_netlink.h"
@@ -50,3 +52,5 @@ void neigh_read_for_vlan(struct zebra_ns *zns, struct interface *vlan_if)
{
netlink_neigh_read_for_vlan(zns, vlan_if);
}
+
+#endif /* GNU_LINUX */