local include of pfkeyv2.h and netlink.h
[strongswan.git] / src / include / linux / xfrm.h
index ea5b042..6b42cc4 100644 (file)
@@ -315,11 +315,13 @@ struct xfrm_usersa_flush {
        __u8                            proto;
 };
 
+#ifndef __KERNEL__
 /* backwards compatibility for userspace */
 #define XFRMGRP_ACQUIRE                1
 #define XFRMGRP_EXPIRE         2
 #define XFRMGRP_SA             4
 #define XFRMGRP_POLICY         8
+#endif
 
 enum xfrm_nlgroups {
        XFRMNLGRP_NONE,