summaryrefslogtreecommitdiffstats
path: root/security
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
parent6a3fbe81179c85eb53054a0f4c8423ffec0276a7 (diff)
downloadtalos-obmc-linux-0ff53f5ddbaebeac1c2735125901275acc1fecc6.tar.gz
talos-obmc-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')
-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"
OpenPOWER on IntegriCloud