[linux-atm]
[openwrt.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 --- a/include/linux/netfilter_ipv4/ip_tables.h
6 +++ b/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
This page took 0.038542 seconds and 5 git commands to generate.