[Dnsmasq-discuss] Missing pfvar.h on OS X 10.9 and can't compile

Simon Kelley simon at thekelleys.org.uk
Tue Jul 8 21:41:50 UTC 2014


Thanks for that. Patch accepted and pushed to git.


Cheers,

Simon.


On 05/07/14 11:04, Chen Yufei wrote:
> 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
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 




More information about the Dnsmasq-discuss mailing list