[ovs-dev,03/21] tnl-arp-cache: Fix NetBSD build
diff mbox

Message ID 1445228952-22445-3-git-send-email-yamamoto@midokura.com
State Awaiting Upstream
Headers show

Commit Message

Takashi Yamamoto Oct. 19, 2015, 4:28 a.m. UTC
On NetBSD, netinet/icmp6.h has a few pre-requisite headers.

Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
---
 lib/tnl-arp-cache.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ben Pfaff Nov. 9, 2015, 11:22 p.m. UTC | #1
On Mon, Oct 19, 2015 at 01:28:54PM +0900, YAMAMOTO Takashi wrote:
> On NetBSD, netinet/icmp6.h has a few pre-requisite headers.
> 
> Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>

Acked-by: Ben Pfaff <blp@ovn.org>

Patch
diff mbox

diff --git a/lib/tnl-arp-cache.c b/lib/tnl-arp-cache.c
index d456d0c..8a4f303 100644
--- a/lib/tnl-arp-cache.c
+++ b/lib/tnl-arp-cache.c
@@ -16,6 +16,8 @@ 
 
 #include <config.h>
 #include <inttypes.h>
+#include <sys/types.h>
+#include <netinet/in.h>
 #include <netinet/icmp6.h>
 #include <stdlib.h>