ipsets equivalent in *BSD, using pf tables.
diff --git a/src/ipset.c b/src/ipset.c
index 6de5952..8c5b727 100644
--- a/src/ipset.c
+++ b/src/ipset.c
@@ -16,7 +16,7 @@
 
 #include "dnsmasq.h"
 
-#ifdef HAVE_IPSET
+#if defined(HAVE_IPSET) && defined(HAVE_LINUX_NETWORK)
 
 #include <string.h>
 #include <errno.h>