Make sure IP_XFRM_POLICY is defined
authorReto Buerki <reet@codelabs.ch>
Thu, 17 Jan 2013 09:01:31 +0000 (10:01 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:50 +0000 (15:23 +0100)
src/charon-tkm/src/tkm/tkm_kernel_ipsec.c

index d60b8e5..b043299 100644 (file)
 #include "tkm_kernel_sad.h"
 #include "tkm_kernel_ipsec.h"
 
+/** From linux/in.h */
+#ifndef IP_XFRM_POLICY
+#define IP_XFRM_POLICY 17
+#endif
+
 typedef struct private_tkm_kernel_ipsec_t private_tkm_kernel_ipsec_t;
 
 /**