headers, xtables: Add missing #include <linux/netfilter.h>
authorBen Hutchings <ben@decadent.org.uk>
Wed, 24 Aug 2011 18:45:42 +0000 (18:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:02:50 +0000 (12:02 -0400)
Various headers use union nf_inet_addr, defined in <linux/netfilter.h>.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/xt_connlimit.h
include/linux/netfilter/xt_conntrack.h
include/linux/netfilter/xt_iprange.h

index 0ca66e97acbc5eda481befdda3ef13eea6119975..d1366f05d1b26076945e0a2cc791c6d0909347ad 100644 (file)
@@ -2,6 +2,7 @@
 #define _XT_CONNLIMIT_H
 
 #include <linux/types.h>
+#include <linux/netfilter.h>
 
 struct xt_connlimit_data;
 
index 74b904d8f99c28121229ef7da0ef3ec8b01c601a..e3c041d54020adfac5295c546b14381dda2f9ea5 100644 (file)
@@ -6,6 +6,7 @@
 #define _XT_CONNTRACK_H
 
 #include <linux/types.h>
+#include <linux/netfilter.h>
 #include <linux/netfilter/nf_conntrack_tuple_common.h>
 
 #define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
index c1f21a779a45c48797f469b6f6ac3aa6a3078c78..25fd7cf851f016805378560b37a57cb350b310f7 100644 (file)
@@ -2,6 +2,7 @@
 #define _LINUX_NETFILTER_XT_IPRANGE_H 1
 
 #include <linux/types.h>
+#include <linux/netfilter.h>
 
 enum {
        IPRANGE_SRC     = 1 << 0,       /* match source IP address */