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_openbsd.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_openbsd.c')
-rw-r--r-- | zebra/zebra_mpls_openbsd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c index fc1df9227..c3d09aedb 100644 --- a/zebra/zebra_mpls_openbsd.c +++ b/zebra/zebra_mpls_openbsd.c @@ -19,6 +19,9 @@ */ #include <zebra.h> + +#ifdef OPEN_BSD + #include <netmpls/mpls.h> #include "zebra/rt.h" #include "zebra/zebra_mpls.h" @@ -358,3 +361,5 @@ int mpls_kernel_init(void) return 0; } + +#endif /* OPEN_BSD */ |