Fix detection and use of netinet/ip6.h on FreeBSD
parent
613fb0b494
commit
ae8ac58c45
|
@ -471,7 +471,11 @@ AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r
|
|||
|
||||
AC_CHECK_HEADERS(sys/sockio.h glob.h)
|
||||
AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h)
|
||||
AC_CHECK_HEADERS(netinet/ip6.h)
|
||||
AC_CHECK_HEADERS(netinet/ip6.h, [], [],
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
])
|
||||
|
||||
AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [],
|
||||
[
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include <library.h>
|
||||
#include <utils/debug.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
#ifdef HAVE_NETINET_IP6_H
|
||||
|
|
Loading…
Reference in New Issue