summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@iki.fi>2016-10-11 08:00:03 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-10-11 08:00:36 +0200
commitf7e09f6ca80e8a49f5324d9b441ff09642857150 (patch)
tree5d726c340dd28f8c18576b4b3a544974f0082dff
parentcaaa867cc7941814216950406c34ef27f73eca54 (diff)
netfilter: fix include files for compilation
Add missing header dependencies and other small changes so that each file compiles alone in userspace. Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
-rw-r--r--kernel/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h2
-rw-r--r--kernel/include/uapi/linux/netfilter/ipset/ip_set_hash.h2
-rw-r--r--kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/kernel/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h b/kernel/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
index 6a2c038..fd5024d 100644
--- a/kernel/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
+++ b/kernel/include/uapi/linux/netfilter/ipset/ip_set_bitmap.h
@@ -1,6 +1,8 @@
#ifndef _UAPI__IP_SET_BITMAP_H
#define _UAPI__IP_SET_BITMAP_H
+#include <linux/netfilter/ipset/ip_set.h>
+
/* Bitmap type specific error codes */
enum {
/* The element is out of the range of the set */
diff --git a/kernel/include/uapi/linux/netfilter/ipset/ip_set_hash.h b/kernel/include/uapi/linux/netfilter/ipset/ip_set_hash.h
index 352eecc..82deeb8 100644
--- a/kernel/include/uapi/linux/netfilter/ipset/ip_set_hash.h
+++ b/kernel/include/uapi/linux/netfilter/ipset/ip_set_hash.h
@@ -1,6 +1,8 @@
#ifndef _UAPI__IP_SET_HASH_H
#define _UAPI__IP_SET_HASH_H
+#include <linux/netfilter/ipset/ip_set.h>
+
/* Hash type specific error codes */
enum {
/* Hash is full */
diff --git a/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h b/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
index a44efaa..84d4303 100644
--- a/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
+++ b/kernel/include/uapi/linux/netfilter/ipset/ip_set_list.h
@@ -1,6 +1,8 @@
#ifndef _UAPI__IP_SET_LIST_H
#define _UAPI__IP_SET_LIST_H
+#include <linux/netfilter/ipset/ip_set.h>
+
/* List type specific error codes */
enum {
/* Set name to be added/deleted/tested does not exist. */