Skip to contentSkip to conversation

ipt_iprange.h must #include <linux/types.h>

PATCH Applied Adrian Bunk 3 participants 3 messages Jul 15, 2007 – Jul 18, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipt_iprange.h must #include <linux/types.h>

ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

---

include/linux/netfilter_ipv4/ipt_iprange.h renamed from include/linux/netfilter_ipv4/ipt_iprange.h.old +2 -0
@@ -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 */
#1 lore raw
Quoted 1 line · Adrian Bunk

ipt_iprange.h must #include <linux/types.h> since it uses __be32.

Applied, thanks.