net/sched: need to include net/ip6_checksum.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 23 Aug 2010 03:31:14 +0000 (20:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Aug 2010 03:31:14 +0000 (20:31 -0700)
for the declararion of csum_ipv6_magic.

Fixes this build error on PowerPC (at least):

net/sched/act_csum.c: In function 'tcf_csum_ipv6_icmp':
net/sched/act_csum.c:178: error: implicit declaration of function 'csum_ipv6_magic'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_csum.c

index 58d7f36949da42333f52a3a6e074814fa8f0a99a..be41f1cc10eed458dab0a171ee561af8a7b7acb5 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/igmp.h>
 #include <net/tcp.h>
 #include <net/udp.h>
+#include <net/ip6_checksum.h>
 
 #include <net/act_api.h>