[ovs-dev] [PATCH] ovn: fix build on FreeBSD

Thadeu Lima de Souza Cascardo cascardo at redhat.com
Wed Oct 19 15:32:57 UTC 2016

The missing include was needed for struct in6_addr.

Otherwise, this build failure would occur.

In file included from ovn/lib/actions.c:23:
ovn/lib/ovn-dhcp.h:163:21: error: field has incomplete type 'struct in6_addr'

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>

Needed for 2.6 branch as well.

 ovn/lib/ovn-dhcp.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ovn/lib/ovn-dhcp.h b/ovn/lib/ovn-dhcp.h
index 65a066b..ecfcc03 100644
--- a/ovn/lib/ovn-dhcp.h
+++ b/ovn/lib/ovn-dhcp.h
@@ -17,6 +17,7 @@
 #ifndef OVN_DHCP_H
 #define OVN_DHCP_H 1
+#include <netinet/in.h>
 #include "openvswitch/hmap.h"
 #include "hash.h"

More information about the dev mailing list