summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-08-23 05:31:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-23 05:31:14 +0200
commit2436243a39de56f03d38c74139261cc61bea8456 (patch)
tree5b2426d71f5b0fcc0543a7a3d8d093383faf6afd /net/sched
parentnet: use __be16 instead of u16 for the userspace code (diff)
downloadlinux-2436243a39de56f03d38c74139261cc61bea8456.tar.xz
linux-2436243a39de56f03d38c74139261cc61bea8456.zip
net/sched: need to include net/ip6_checksum.h
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>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_csum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c
index 58d7f36949da..be41f1cc10ee 100644
--- a/net/sched/act_csum.c
+++ b/net/sched/act_csum.c
@@ -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>