aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/kernel_pfkey
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2009-05-14 14:29:41 +0200
committerTobias Brunner <tobias@strongswan.org>2009-05-14 17:38:32 +0200
commit9f090745cf8e8200e607fef0230185924e2f04a8 (patch)
tree9fc169f1e257b5c9ea717913919727f66d4d65b6 /src/charon/plugins/kernel_pfkey
parentc1532e840db32e554aafa8a2592e5596ca84ee69 (diff)
downloadstrongswan-9f090745cf8e8200e607fef0230185924e2f04a8.tar.bz2
strongswan-9f090745cf8e8200e607fef0230185924e2f04a8.tar.xz
added another possible location for the ipsec.h header file
Diffstat (limited to 'src/charon/plugins/kernel_pfkey')
-rw-r--r--src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
index 106acc793..a924be8b2 100644
--- a/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
+++ b/src/charon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
@@ -30,6 +30,8 @@
#ifdef HAVE_NETIPSEC_IPSEC_H
#include <netipsec/ipsec.h>
+#elif defined(HAVE_NETINET6_IPSEC_H)
+#include <netinet6/ipsec.h>
#else
#include <linux/ipsec.h>
#endif