diff options
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"
|