libmicrohttpd: build parallel
[feed/packages.git] / net / openvswitch / patches / 0005-datapath-Add-net-ip6_checksum.h-to-stt.c.patch
1 From 554daf066bf4a8eb7bbc8edc1a877a3afc0de38d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Jason=20K=C3=B6lker?= <jason@koelker.net>
3 Date: Wed, 2 Sep 2015 22:40:24 +0000
4 Subject: [PATCH] datapath: Add net/ip6_checksum.h to stt.c
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 `csum_ipv6_magic` is an asm inline on most platforms. However if it is
10 not defined (like on ppc64le) including <net/ip6_checksum.h> will fall
11 back to the c implementation by wrapping it in an
12 `#ifndef _HAVE_ARCH_IPV6_CSUM`.
13
14 Signed-off-by: Jason Kölker <jason@koelker.net>
15 Signed-off-by: Jesse Gross <jesse@nicira.com>
16 ---
17 datapath/linux/compat/stt.c | 1 +
18 1 file changed, 1 insertion(+)
19
20 diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c
21 index b44f470..dd21753 100644
22 --- a/datapath/linux/compat/stt.c
23 +++ b/datapath/linux/compat/stt.c
24 @@ -30,6 +30,7 @@
25 #include <net/icmp.h>
26 #include <net/inet_ecn.h>
27 #include <net/ip.h>
28 +#include <net/ip6_checksum.h>
29 #include <net/net_namespace.h>
30 #include <net/netns/generic.h>
31 #include <net/sock.h>
32 --
33 2.1.4
34