aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/xfrm.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2022-05-02 16:15:20 +0200
committerPaul Moore <paul@paul-moore.com>2022-05-03 14:11:13 -0400
commit4ad37de496425b1d2bc4cd923cf94f3e582d5dea (patch)
treee357c15bb2e70c41af96f82e1ff10b1f1bdd9647 /security/selinux/include/xfrm.h
parentselinux: avoid extra semicolon (diff)
downloadlinux-dev-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.tar.xz
linux-dev-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.zip
selinux: include necessary headers in headers
Include header files required for struct or typedef declarations in header files. This is for example helpful when working with an IDE, which needs to resolve those symbols. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to '')
-rw-r--r--security/selinux/include/xfrm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/include/xfrm.h b/security/selinux/include/xfrm.h
index 74159400eeee..c75839860200 100644
--- a/security/selinux/include/xfrm.h
+++ b/security/selinux/include/xfrm.h
@@ -8,7 +8,9 @@
#ifndef _SELINUX_XFRM_H_
#define _SELINUX_XFRM_H_
+#include <linux/lsm_audit.h>
#include <net/flow.h>
+#include <net/xfrm.h>
int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
struct xfrm_user_sec_ctx *uctx,