From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King Subject: [PATCH] 2.6.9-rc1 compile fix: ip_conntrack_proto_udp.c / ip_conntrack_proto_icmp.c Date: Tue, 24 Aug 2004 11:27:44 +0100 Sender: netdev-bounce@oss.sgi.com Message-ID: <20040824112744.B23041@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@oss.sgi.com Return-path: To: Linux Kernel List Content-Disposition: inline Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org These seem to suffer from the same problem that ip_conntrack_proto_tcp.c does (see Felipe Alfaro Solana recent mail on lkml.) net/ipv4/netfilter/ip_conntrack_proto_udp.c: In function `udp_error': net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: `NF_IP_PRE_ROUTING' undeclared (first use in this function) net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: (Each undeclared identifier is reported only once net/ipv4/netfilter/ip_conntrack_proto_udp.c:120: error: for each function it appears in.) and: net/ipv4/netfilter/ip_conntrack_proto_icmp.c: In function `icmp_error_message': net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: `NF_IP_LOCAL_OUT' undeclared (first use in this function) net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: (Each undeclared identifier is reported only once net/ipv4/netfilter/ip_conntrack_proto_icmp.c:180: error: for each function it appears in.) net/ipv4/netfilter/ip_conntrack_proto_icmp.c: In function `icmp_error': net/ipv4/netfilter/ip_conntrack_proto_icmp.c:216: error: `NF_IP_PRE_ROUTING' undeclared (first use in this function) diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/net/ipv4/netfilter/ip_conntrack_proto_udp.c linux/net/ipv4/netfilter/ip_conntrack_proto_udp.c --- orig/net/ipv4/netfilter/ip_conntrack_proto_udp.c Tue Aug 24 09:57:21 2004 +++ linux/net/ipv4/netfilter/ip_conntrack_proto_udp.c Tue Aug 24 11:22:48 2004 @@ -14,6 +14,7 @@ #include #include #include +#include #include unsigned long ip_ct_udp_timeout = 30*HZ; diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/net/ipv4/netfilter/ip_conntrack_proto_icmp.c linux/net/ipv4/netfilter/ip_conntrack_proto_icmp.c --- orig/net/ipv4/netfilter/ip_conntrack_proto_icmp.c Tue Aug 24 09:57:21 2004 +++ linux/net/ipv4/netfilter/ip_conntrack_proto_icmp.c Tue Aug 24 11:24:27 2004 @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core