summaryrefslogtreecommitdiff
path: root/security/selinux/netlink.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 04:52:10 +0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 03:31:32 +0400
commit44fc7ea0bfe9143551649a42eb35f1460566c3c5 (patch)
tree7cfceedba653c69db90912427d140da996ab4f09 /security/selinux/netlink.c
parenta6ee87790b708dc4cdd3643104417793f0d985ec (diff)
downloadlinux-44fc7ea0bfe9143551649a42eb35f1460566c3c5.tar.xz
selinux: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
The pervasive, but implicit presence of <linux/module.h> meant that things like this file would happily compile as-is. But with the desire to phase out the module.h being included everywhere, point this file at export.h which will give it THIS_MODULE and the EXPORT_SYMBOL variants. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'security/selinux/netlink.c')
-rw-r--r--security/selinux/netlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index ce3f481558d8..161e01a6c7ef 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -14,6 +14,7 @@
#include <linux/slab.h>
#include <linux/stddef.h>
#include <linux/kernel.h>
+#include <linux/export.h>
#include <linux/skbuff.h>
#include <linux/netlink.h>
#include <linux/selinux_netlink.h>