Make sure IP_XFRM_POLICY is defined
[strongswan.git] / 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;
 
 /**