]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/if_netlink.c
build: zebra: remove *_method Makefile hacks
[mirror_frr.git] / zebra / if_netlink.c
index acec2db5268002ed1fd911cb42ccc883408a6879..10db5067f94ad07b0a16fe8fd6d6aa4d5514b36d 100644 (file)
@@ -21,6 +21,8 @@
 
 #include <zebra.h>
 
+#ifdef GNU_LINUX
+
 /* The following definition is to workaround an issue in the Linux kernel
  * header files with redefinition of 'struct in6_addr' in both
  * netinet/in.h and linux/in6.h.
@@ -1218,3 +1220,5 @@ void interface_list(struct zebra_ns *zns)
 {
        interface_lookup_netlink(zns);
 }
+
+#endif /* GNU_LINUX */