Signed-off-by: Dave Tucker <d...@dtucker.co.uk>
---
 ofproto/ofproto-dpif.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index bf15d04..a922544 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -1591,6 +1591,8 @@ run(struct ofproto *ofproto_)
     return 0;
 }
 
+// There is an issue with Darwin aliasing wait from sys/wait.h
+#ifndef __APPLE__
 static void
 wait(struct ofproto *ofproto_)
 {
@@ -1630,6 +1632,7 @@ wait(struct ofproto *ofproto_)
     seq_wait(udpif_dump_seq(ofproto->backer->udpif), ofproto->dump_seq);
     seq_wait(ofproto->pins_seq, ofproto->pins_seqno);
 }
+#endif
 
 static void
 type_get_memory_usage(const char *type, struct simap *usage)
-- 
1.9.3 (Apple Git-50)

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to