[ifxmips]
[openwrt.git] / package / iproute2 / patches / 007-version_includes.patch
1 --- a/include/linux/netfilter_ipv4/ip_tables.h
2 +++ b/include/linux/netfilter_ipv4/ip_tables.h
3 @@ -114,7 +114,10 @@ struct ipt_entry
4 #define IPT_CONTINUE XT_CONTINUE
5 #define IPT_RETURN XT_RETURN
6
7 +#include <linux/version.h>
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
9 #include <linux/netfilter/xt_tcpudp.h>
10 +#endif
11 #define ipt_udp xt_udp
12 #define ipt_tcp xt_tcp
13
This page took 0.04433 seconds and 5 git commands to generate.