mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Fix FTBFS on OS X >=10.7 Need to select a IPv6 sockopt API.
This commit is contained in:
@@ -254,6 +254,9 @@ HAVE_SOCKADDR_SA_LEN
|
|||||||
#define HAVE_SOCKADDR_SA_LEN
|
#define HAVE_SOCKADDR_SA_LEN
|
||||||
/* Define before sys/socket.h is included so we get socklen_t */
|
/* Define before sys/socket.h is included so we get socklen_t */
|
||||||
#define _BSD_SOCKLEN_T_
|
#define _BSD_SOCKLEN_T_
|
||||||
|
/* Select the RFC_3542 version of the IPv6 socket API.
|
||||||
|
Define before netinet6/in6.h is included. */
|
||||||
|
#define __APPLE_USE_RFC_3542
|
||||||
|
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
#define HAVE_BSD_NETWORK
|
#define HAVE_BSD_NETWORK
|
||||||
|
|||||||
Reference in New Issue
Block a user