summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xcb_auth.c2
-rw-r--r--src/xcb_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xcb_auth.c b/src/xcb_auth.c
index 859ab8a..21c26b8 100644
--- a/src/xcb_auth.c
+++ b/src/xcb_auth.c
@@ -30,7 +30,6 @@
#include <sys/param.h>
#include <unistd.h>
#include <stdlib.h>
-#include <arpa/inet.h>
#ifdef __INTERIX
/* _don't_ ask. interix has INADDR_LOOPBACK in here. */
@@ -40,6 +39,7 @@
#ifdef _WIN32
#include "xcb_windefs.h"
#else
+#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
diff --git a/src/xcb_util.c b/src/xcb_util.c
index a55df16..64a1f6d 100644
--- a/src/xcb_util.c
+++ b/src/xcb_util.c
@@ -34,11 +34,11 @@
#include <stddef.h>
#include <unistd.h>
#include <string.h>
-#include <arpa/inet.h>
#ifdef _WIN32
#include "xcb_windefs.h"
#else
+#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>