build: include <net/ip6_checksum.h> for csum_ipv6_magic

xt_ECHO fails to build on PPC because csum_ipv6_magic is declared in
<net/ip6_checksum.h>, which is not implicitly included from other
headers on PPC causing build failures due to this function being
undefined. So, include this header explicitly.

Note:  Same cause as <http://bugzilla.netfilter.org/show_bug.cgi?id=307>.
This commit is contained in:
Kevin Locke
2012-07-03 12:33:45 -06:00
committed by Jan Engelhardt
parent e2ecff2071
commit 911d3d146a

View File

@@ -18,6 +18,7 @@
# include <linux/netfilter_bridge.h>
#endif
#include <net/ip.h>
#include <net/ip6_checksum.h>
#include <net/ip6_route.h>
#include <net/route.h>
#include "compat_xtables.h"