Hi,

this patch fixes ip package.
Don't know if its the best solution, but I think if you include kernel
headers, you should care about including kernel header type definitions
as well :)

kindly regards
 poelzi
Index: package/iproute2/patches/008-u32_complition_fix.patch
===================================================================
--- package/iproute2/patches/008-u32_complition_fix.patch	(revision 0)
+++ package/iproute2/patches/008-u32_complition_fix.patch	(revision 0)
@@ -0,0 +1,10 @@
+Binary files iproute-2.6.20-070313.orig/tc/libtc.a and iproute-2.6.20-070313/tc/libtc.a differ
+diff -U 2 iproute-2.6.20-070313.orig/tc/m_ipt.c iproute-2.6.20-070313/tc/m_ipt.c
+--- iproute-2.6.20-070313.orig/tc/m_ipt.c	2007-03-13 22:50:56.000000000 +0100
++++ iproute-2.6.20-070313/tc/m_ipt.c	2008-05-08 10:42:54.000000000 +0200
+@@ -15,4 +15,5 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#include <linux/types.h>
+ #include <iptables.h>
+ #include <linux/netfilter_ipv4/ip_tables.h>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to