mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
added another possible location for the ipsec.h header file
This commit is contained in:
parent
c1532e840d
commit
9f090745cf
@ -820,7 +820,7 @@ AC_CHECK_FUNCS(backtrace)
|
|||||||
AC_CHECK_FUNCS(prctl)
|
AC_CHECK_FUNCS(prctl)
|
||||||
AC_CHECK_FUNCS(gethostbyname_r)
|
AC_CHECK_FUNCS(gethostbyname_r)
|
||||||
|
|
||||||
AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h)
|
AC_CHECK_HEADERS(net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h)
|
||||||
|
|
||||||
AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [],
|
AC_CHECK_MEMBERS([struct sockaddr.sa_len], [], [],
|
||||||
[
|
[
|
||||||
|
@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
#ifdef HAVE_NETIPSEC_IPSEC_H
|
#ifdef HAVE_NETIPSEC_IPSEC_H
|
||||||
#include <netipsec/ipsec.h>
|
#include <netipsec/ipsec.h>
|
||||||
|
#elif defined(HAVE_NETINET6_IPSEC_H)
|
||||||
|
#include <netinet6/ipsec.h>
|
||||||
#else
|
#else
|
||||||
#include <linux/ipsec.h>
|
#include <linux/ipsec.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user