diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-26 19:49:15 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-31 23:03:30 +0200 |
commit | ddfeb48652f8318acc8b18c2c377515de2bf1b31 (patch) | |
tree | e4825eefb3fee2b1c5f0d7b5c6817bac77a1c313 /zebra/ioctl.c | |
parent | build: convert zebra/ to non-recursive build (diff) | |
download | frr-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/ioctl.c')
-rw-r--r-- | zebra/ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <net/if_media.h> #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 */ |