diff options
| author | Paul Gortmaker <[email protected]> | 2011-05-27 00:52:10 +0000 |
|---|---|---|
| committer | Paul Gortmaker <[email protected]> | 2011-10-31 23:31:32 +0000 |
| commit | 44fc7ea0bfe9143551649a42eb35f1460566c3c5 (patch) | |
| tree | 7cfceedba653c69db90912427d140da996ab4f09 /security/selinux/hooks.c | |
| parent | cpufreq: Fix build of s3c64xx cpufreq driver for header change (diff) | |
| download | kernel-44fc7ea0bfe9143551649a42eb35f1460566c3c5.tar.gz kernel-44fc7ea0bfe9143551649a42eb35f1460566c3c5.zip | |
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 <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index e545b9f67072..1126c10a5e82 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -80,6 +80,7 @@ #include <linux/posix-timers.h> #include <linux/syslog.h> #include <linux/user_namespace.h> +#include <linux/export.h> #include "avc.h" #include "objsec.h" |
