[Spice-devel] [PATCH] LZ4: Do not include arpa/inet.h in Windows builds

Javier Celaya javier.celaya at flexvm.es
Tue Feb 3 03:14:28 PST 2015


---
 common/canvas_base.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/canvas_base.c b/common/canvas_base.c
index fb35c4a..1c96c9c 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -27,7 +27,9 @@
 #include <math.h>
 
 #ifdef USE_LZ4
+#ifndef WIN32
 #include <arpa/inet.h>
+#endif
 #include <lz4.h>
 #endif
 #include <spice/macros.h>
-- 
1.9.3



More information about the Spice-devel mailing list