summaryrefslogtreecommitdiffstats
path: root/zebra/rtread_getmsg.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_getmsg.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_getmsg.c')
-rw-r--r--zebra/rtread_getmsg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rtread_getmsg.c b/zebra/rtread_getmsg.c
index 5384231f8..1bba003a0 100644
--- a/zebra/rtread_getmsg.c
+++ b/zebra/rtread_getmsg.c
@@ -21,6 +21,8 @@
#include <zebra.h>
+#ifdef SUNOS_5
+
#include "prefix.h"
#include "log.h"
#include "if.h"
@@ -258,3 +260,5 @@ void neigh_read(struct zebra_ns *zns)
void neigh_read_for_vlan(struct zebra_ns *zns, struct interface *vlan_if)
{
}
+
+#endif /* SUNOS_5 */