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/zebra_mpls_netlink.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/zebra_mpls_netlink.c')
-rw-r--r-- | zebra/zebra_mpls_netlink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_netlink.c b/zebra/zebra_mpls_netlink.c index c5053563b..8b30783a9 100644 --- a/zebra/zebra_mpls_netlink.c +++ b/zebra/zebra_mpls_netlink.c @@ -19,6 +19,9 @@ */ #include <zebra.h> + +#ifdef HAVE_NETLINK + #include "zebra/rt.h" #include "zebra/rt_netlink.h" #include "zebra/zebra_mpls.h" @@ -105,3 +108,5 @@ int mpls_kernel_init(void) return 0; }; + +#endif /* HAVE_NETLINK */ |