diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-13 21:28:45 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-01-13 21:29:52 +0100 |
commit | dd71826fcfcfcc8c36f0508cc183dd222da40452 (patch) | |
tree | c3f9431f40d5f3bedd3f3442026fb3a330d9343d /kernel/net/netfilter/ipset/pfxlen.c | |
parent | a8e494dcebf3588fc1b4682f83f3babae497c0c3 (diff) |
net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules
These files are non modular, but need to export symbols using
the macros now living in export.h -- call out the include so
that things won't break when we remove the implicit presence
of module.h from everywhere.
Diffstat (limited to 'kernel/net/netfilter/ipset/pfxlen.c')
-rw-r--r-- | kernel/net/netfilter/ipset/pfxlen.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/net/netfilter/ipset/pfxlen.c b/kernel/net/netfilter/ipset/pfxlen.c index bd13d66..c5191c7 100644 --- a/kernel/net/netfilter/ipset/pfxlen.c +++ b/kernel/net/netfilter/ipset/pfxlen.c @@ -1,3 +1,7 @@ +#include <linux/version.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,0) +#include <linux/export.h> +#endif #include <linux/netfilter/ipset/pfxlen.h> /* |