Commit 6dbdc972 authored by Simon Kelley's avatar Simon Kelley

Fix FTBFS on OS X >=10.7 Need to select a IPv6 sockopt API.

parent 7b174c25
...@@ -254,7 +254,10 @@ HAVE_SOCKADDR_SA_LEN ...@@ -254,7 +254,10 @@ 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
#define HAVE_GETOPT_LONG #define HAVE_GETOPT_LONG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment