summaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-30 12:36:39 +1000
committerJames Morris <jmorris@namei.org>2011-09-09 16:56:32 -0700
commit0ff53f5ddbaebeac1c2735125901275acc1fecc6 (patch)
tree7ceff5b004c1ae4e873002dc59be1ae6c4e7de14 /security/selinux
parent6a3fbe81179c85eb53054a0f4c8423ffec0276a7 (diff)
downloadlwn-0ff53f5ddbaebeac1c2735125901275acc1fecc6.tar.gz
lwn-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')
-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"