]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Fix FTBFS on illumos
authorAndy Stormont <astormont@racktopsystems.com>
Mon, 1 Feb 2016 12:07:57 +0000 (12:07 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Mon, 1 Feb 2016 12:07:57 +0000 (12:07 +0000)
src/bpf.c

index 7c4bead1be9aa2099b2ce51db56310476b129d41..69dea132c09f88d2a32edd5cbd3d41d075bbf1d8 100644 (file)
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -20,7 +20,9 @@
 #include <ifaddrs.h>
 
 #include <sys/param.h>
+#if defined(HAVE_BSD_NETWORK) && !defined(__APPLE__)
 #include <sys/sysctl.h>
+#endif
 #include <net/if.h>
 #include <net/route.h>
 #include <net/if_dl.h>