summaryrefslogtreecommitdiffstats
path: root/security/selinux/exports.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 04:36:39 +0200
committerJames Morris <jmorris@namei.org>2011-09-10 01:56:32 +0200
commit0ff53f5ddbaebeac1c2735125901275acc1fecc6 (patch)
tree7ceff5b004c1ae4e873002dc59be1ae6c4e7de14 /security/selinux/exports.c
parentselinux: sparse fix: fix warnings in netlink code (diff)
downloadlinux-0ff53f5ddbaebeac1c2735125901275acc1fecc6.tar.xz
linux-0ff53f5ddbaebeac1c2735125901275acc1fecc6.zip
selinux: sparse fix: include selinux.h in exports.c
Fix warning: security/selinux/exports.c:18:6: warning: symbol 'selinux_is_enabled' was not declared. Should it be static? Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/exports.c')
-rw-r--r--security/selinux/exports.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/exports.c b/security/selinux/exports.c
index 90664385dead..e75dd94e2d2b 100644
--- a/security/selinux/exports.c
+++ b/security/selinux/exports.c
@@ -12,6 +12,7 @@
* as published by the Free Software Foundation.
*/
#include <linux/module.h>
+#include <linux/selinux.h>
#include "security.h"