aboutsummaryrefslogtreecommitdiff
path: root/libxcb
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-08-30 07:50:16 +0200
committermarha <marha@users.sourceforge.net>2011-08-30 07:50:16 +0200
commit52a690f156b6388c2219610d4e9cd88b79d24203 (patch)
tree0171791008ef33a0cad2528ccf5c86a6f6a975c9 /libxcb
parent924a6ffc82a7af0ca311af711ea2cf973dc6ff15 (diff)
downloadvcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.tar.gz
vcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.tar.bz2
vcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.zip
Solved compilation errors
Diffstat (limited to 'libxcb')
-rw-r--r--libxcb/src/xcb_auth.c2
-rw-r--r--libxcb/src/xcb_util.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libxcb/src/xcb_auth.c b/libxcb/src/xcb_auth.c
index dbfd24657..f2a3ab610 100644
--- a/libxcb/src/xcb_auth.c
+++ b/libxcb/src/xcb_auth.c
@@ -30,7 +30,9 @@
#include <sys/param.h>
#include <unistd.h>
#include <stdlib.h>
+#ifndef _MSC_VER
#include <arpa/inet.h>
+#endif
#ifdef __INTERIX
/* _don't_ ask. interix has INADDR_LOOPBACK in here. */
diff --git a/libxcb/src/xcb_util.c b/libxcb/src/xcb_util.c
index 499c54904..647096ce6 100644
--- a/libxcb/src/xcb_util.c
+++ b/libxcb/src/xcb_util.c
@@ -34,7 +34,9 @@
#include <stddef.h>
#include <unistd.h>
#include <string.h>
+#ifndef _MSC_VER
#include <arpa/inet.h>
+#endif
#ifdef _WIN32
#include "xcb_windefs.h"