[Dnsmasq-discuss] Missing pfvar.h on OS X 10.9 and can't compile
Chen Yufei
cyfdecyf at gmail.com
Sat Jul 5 10:04:41 UTC 2014
The latest git repository can't compile on OS X 10.9 because missing pfvar.h header file.
Some googling leads me to a discussion saying that pfvar is included in 10.7 but removed as of 10.9.
https://github.com/droe/sslsplit/issues/15
Adding NO_IPSET in config.h fixes the issue, here's the patch:
diff --git a/src/config.h b/src/config.h
index ee6d218..87f8f8a 100644
--- a/src/config.h
+++ b/src/config.h
@@ -268,6 +268,7 @@ HAVE_SOCKADDR_SA_LEN
/* Select the RFC_3542 version of the IPv6 socket API.
Define before netinet6/in6.h is included. */
#define __APPLE_USE_RFC_3542
+#define NO_IPSET
#elif defined(__NetBSD__)
#define HAVE_BSD_NETWORK
--
Best regards,
Chen Yufei
More information about the Dnsmasq-discuss
mailing list