From ddfeb48652f8318acc8b18c2c377515de2bf1b31 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 26 Jul 2017 19:49:15 +0200 Subject: build: zebra: remove *_method Makefile hacks replace with preprocessor checks in source files. Much simpler... Signed-off-by: David Lamparter --- zebra/ioctl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zebra/ioctl.c') diff --git a/zebra/ioctl.c b/zebra/ioctl.c index 72d98943e..835f1f493 100644 --- a/zebra/ioctl.c +++ b/zebra/ioctl.c @@ -33,6 +33,8 @@ #include "zebra/rt.h" #include "zebra/interface.h" +#ifndef SUNOS_5 + #ifdef HAVE_BSD_LINK_DETECT #include #endif /* HAVE_BSD_LINK_DETECT*/ @@ -563,3 +565,5 @@ int if_prefix_delete_ipv6(struct interface *ifp, struct connected *ifc) #endif /* HAVE_STRUCT_IN6_ALIASREQ */ #endif /* LINUX_IPV6 */ + +#endif /* !SUNOS_5 */ -- cgit v1.2.3