[LTP] [PATCH 1/6] lapi/xfrm.h: Include system XFRM header and force kernel IPv6 definition
Martin Doucha
mdoucha@suse.cz
Wed May 27 13:47:00 CEST 2026
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
include/lapi/xfrm.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/lapi/xfrm.h b/include/lapi/xfrm.h
index 48503b7ef..e89e90bc1 100644
--- a/include/lapi/xfrm.h
+++ b/include/lapi/xfrm.h
@@ -6,6 +6,10 @@
#ifndef LAPI_XFRM_H__
#define LAPI_XFRM_H__
+/* Force use of kernel IPv6 definitions to avoid redefinition errors */
+#define _UAPI_IPV6_H
+#include <linux/xfrm.h>
+
#ifndef XFRMNLGRP_NONE
# define XFRMNLGRP_NONE 0
#endif
--
2.54.0
More information about the ltp
mailing list