Commit 
https://github.com/openvswitch/ovs/commit/81765c00a13882acaaf652df23d7fa76fc3ad743
introduced openflow types to the include interface.

The Windows datapath needs to be aware of the new types included in the
common interface.

Fixes broken build on Windows.

Signed-off-by: Alin Gabriel Serdean <[email protected]>
---
 datapath-windows/ovsext/Types.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/datapath-windows/ovsext/Types.h b/datapath-windows/ovsext/Types.h
index 022c65b..4da335a 100644
--- a/datapath-windows/ovsext/Types.h
+++ b/datapath-windows/ovsext/Types.h
@@ -42,6 +42,10 @@ typedef UINT16 BE16;
 typedef UINT32 BE32;
 typedef UINT64 BE64;
 
+typedef uint32_t ofp_port_t;
+typedef uint32_t odp_port_t;
+typedef uint32_t ofp11_port_t;
+
 #define ETH_ALEN 6
 
 #define SIZE_MAX MAXUINT32
-- 
2.10.2.windows.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to