[Pdns-dev] pdns IPv6 compilation failure on OSX (svn head)

bert hubert bert.hubert at netherlabs.nl
Sun Oct 7 09:46:44 CEST 2012


On Sun, Oct 07, 2012 at 12:59:34PM +1100, Justin Clift wrote:
>   /usr/include/netinet6/in6.h:#define IPV6_PKTINFO        IPV6_2292PKTINFO
>   /usr/include/netinet6/in6.h:#define IPV6_RECVPKTINFO	61 /* bool; recv if, dst addr 
>   /usr/include/netinet6/in6.h:#define IPV6_PKTINFO        IPV6_3542PKTINFO
> 
> Tried adding "#include <netinet/in.h>" to pdns/nameserver.cc, but that
> make no difference. :(

Can you add:

#define __APPLE_USE_RFC_3542
#include <netinet6/in6.h> 

?

	Bert


More information about the Pdns-dev mailing list