[NETFILTER]: ipt_iprange.h must #include <linux/types.h>
authorAdrian Bunk <bunk@stusta.de>
Wed, 18 Jul 2007 09:21:50 +0000 (02:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2007 09:21:50 +0000 (02:21 -0700)
ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4/ipt_iprange.h

index 34ab0fb..a92fefc 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _IPT_IPRANGE_H
 #define _IPT_IPRANGE_H
 
+#include <linux/types.h>
+
 #define IPRANGE_SRC            0x01    /* Match source IP address */
 #define IPRANGE_DST            0x02    /* Match destination IP address */
 #define IPRANGE_SRC_INV                0x10    /* Negate the condition */