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/if_ioctl.c | |
| parent | 64d44794fe8f17c0da6d73329600d12b45d740e5 (diff) | |
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/if_ioctl.c')
| -rw-r--r-- | zebra/if_ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c index 2d5d604a8b..a65fcb2b8c 100644 --- a/zebra/if_ioctl.c +++ b/zebra/if_ioctl.c @@ -21,6 +21,8 @@ #include <zebra.h> +#ifdef OPEN_BSD + #include "if.h" #include "sockunion.h" #include "prefix.h" @@ -328,3 +330,5 @@ void interface_list(struct zebra_ns *zns) ifaddr_proc_ipv6(); #endif /* HAVE_PROC_NET_IF_INET6 */ } + +#endif /* OPEN_BSD */ |
