diff options
author | marha <marha@users.sourceforge.net> | 2011-08-30 07:50:16 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-08-30 07:50:16 +0200 |
commit | 52a690f156b6388c2219610d4e9cd88b79d24203 (patch) | |
tree | 0171791008ef33a0cad2528ccf5c86a6f6a975c9 /libxcb/src | |
parent | 924a6ffc82a7af0ca311af711ea2cf973dc6ff15 (diff) | |
download | vcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.tar.gz vcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.tar.bz2 vcxsrv-52a690f156b6388c2219610d4e9cd88b79d24203.zip |
Solved compilation errors
Diffstat (limited to 'libxcb/src')
-rw-r--r-- | libxcb/src/xcb_auth.c | 2 | ||||
-rw-r--r-- | libxcb/src/xcb_util.c | 2 |
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"
|