iproute2: Add lex/yacc files dependencies. Refresh other patches.
[openwrt/svn-archive/archive.git] / package / iproute2 / patches / 007-version_includes.patch
1 ---
2 include/linux/netfilter_ipv4/ip_tables.h | 3 +++
3 1 file changed, 3 insertions(+)
4
5 --- iproute2-2.6.35.orig/include/linux/netfilter_ipv4/ip_tables.h
6 +++ iproute2-2.6.35/include/linux/netfilter_ipv4/ip_tables.h
7 @@ -113,7 +113,10 @@ struct ipt_entry {
8 #define IPT_CONTINUE XT_CONTINUE
9 #define IPT_RETURN XT_RETURN
10
11 +#include <linux/version.h>
12 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
13 #include <linux/netfilter/xt_tcpudp.h>
14 +#endif
15 #define ipt_udp xt_udp
16 #define ipt_tcp xt_tcp
17