add external kernel tree support
[openwrt.git] / package / iproute2 / patches / 007-version_includes.patch
1 diff -urN iproute-2.6.20-070313/include/linux/netfilter_ipv4/ip_tables.h iproute-2.6.20-070313.new/include/linux/netfilter_ipv4/ip_tables.h
2 --- iproute-2.6.20-070313/include/linux/netfilter_ipv4/ip_tables.h 2007-03-13 22:50:56.000000000 +0100
3 +++ iproute-2.6.20-070313.new/include/linux/netfilter_ipv4/ip_tables.h 2007-06-13 19:50:04.000000000 +0200
4 @@ -112,7 +112,10 @@
5 #define IPT_CONTINUE XT_CONTINUE
6 #define IPT_RETURN XT_RETURN
7
8 +#include <linux/version.h>
9 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
10 #include <linux/netfilter/xt_tcpudp.h>
11 +#endif
12 #define ipt_udp xt_udp
13 #define ipt_tcp xt_tcp
14
This page took 0.047206 seconds and 5 git commands to generate.