summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJavier Celaya <javier.celaya@flexvm.es>2015-02-03 12:14:28 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-02-03 13:28:54 +0100
commit3aad79d9c64e85bc2b474df427ccbedbf6840591 (patch)
treef6395b4cfa45a71dee27f91606f199957ad018e2 /common
parent9287e53b6c978a2c8eaf3d7f820276e34a678a92 (diff)
downloadspice-common-3aad79d9c64e85bc2b474df427ccbedbf6840591.tar.gz
spice-common-3aad79d9c64e85bc2b474df427ccbedbf6840591.tar.xz
spice-common-3aad79d9c64e85bc2b474df427ccbedbf6840591.zip
LZ4: Do not include arpa/inet.h in Windows builds
Diffstat (limited to 'common')
-rw-r--r--common/canvas_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/canvas_base.c b/common/canvas_base.c
index 7394105..837f1d1 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>