[ovs-dev] [PATCH v2] ovs-router: fix compile error on FreeBSD
Kevin Lo
kevlo at FreeBSD.org
Fri Dec 4 15:31:40 UTC 2015
FreeBSD needs to include netinet/in.h to define struct in6_addr.
Signed-off-by: Kevin Lo <kevlo at FreeBSD.org>
---
diff --git a/lib/ovs-router.h b/lib/ovs-router.h
index 315702c..c23d554 100644
--- a/lib/ovs-router.h
+++ b/lib/ovs-router.h
@@ -17,6 +17,8 @@
#ifndef OVS_TNL_ROUTER_H
#define OVS_TNL_ROUTER_H 1
+#include <netinet/in.h>
+
#include "util.h"
#ifdef __cplusplus
More information about the dev
mailing list