aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-03-27 09:56:48 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-27 09:56:48 +0100
commitae8ac58c45bbb61f439b49ea096625dc7e0cf808 (patch)
tree0663c71d6908ffbf042ac47409e7857261be0b52 /configure.in
parent613fb0b494b2a36a3a8cb85f68c3c714aa5ea465 (diff)
downloadstrongswan-ae8ac58c45bbb61f439b49ea096625dc7e0cf808.tar.bz2
strongswan-ae8ac58c45bbb61f439b49ea096625dc7e0cf808.tar.xz
Fix detection and use of netinet/ip6.h on FreeBSD
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index d4c35bee1..9dc510b24 100644
--- a/configure.in
+++ b/configure.in
@@ -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], [], [],
[