summaryrefslogtreecommitdiffstats
path: root/kernel/net/netfilter/ipset/pfxlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/netfilter/ipset/pfxlen.c')
-rw-r--r--kernel/net/netfilter/ipset/pfxlen.c4
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>
/*