diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2022-05-02 16:15:20 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-05-03 14:11:13 -0400 |
commit | 4ad37de496425b1d2bc4cd923cf94f3e582d5dea (patch) | |
tree | e357c15bb2e70c41af96f82e1ff10b1f1bdd9647 /security/selinux/include/ibpkey.h | |
parent | 1d4e8036cb2b301842797d447164464896824c58 (diff) | |
download | linux-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.tar.gz linux-4ad37de496425b1d2bc4cd923cf94f3e582d5dea.tar.bz2 linux-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 'security/selinux/include/ibpkey.h')
-rw-r--r-- | security/selinux/include/ibpkey.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/selinux/include/ibpkey.h b/security/selinux/include/ibpkey.h index e6ac1d23320b..c992f83b0aae 100644 --- a/security/selinux/include/ibpkey.h +++ b/security/selinux/include/ibpkey.h @@ -14,6 +14,8 @@ #ifndef _SELINUX_IB_PKEY_H #define _SELINUX_IB_PKEY_H +#include <linux/types.h> + #ifdef CONFIG_SECURITY_INFINIBAND void sel_ib_pkey_flush(void); int sel_ib_pkey_sid(u64 subnet_prefix, u16 pkey, u32 *sid); |