[Spice-devel] [PATCH 6/6] LZ4: Include winsock.h when compiling for Windows
Javier Celaya
javier.celaya at flexvm.es
Wed Jan 28 02:49:49 PST 2015
---
common/canvas_base.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/common/canvas_base.c b/common/canvas_base.c
index fb35c4a..5867f3e 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -27,7 +27,11 @@
#include <math.h>
#ifdef USE_LZ4
+#ifdef _WIN32
+#include <winsock.h>
+#else
#include <arpa/inet.h>
+#endif
#include <lz4.h>
#endif
#include <spice/macros.h>
--
1.9.3
More information about the Spice-devel
mailing list