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 58d7f36..be41f1c 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>