From 4aa7a2c849a9536febb2dc7773e06c12a69c5213 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 5 Jan 2012 20:57:52 +0000 Subject: Fix WIN32 compilation after commit 163c47bdc0d32785d831e4c93fea9ab7e023446b WIN32 does not have arpa/inet.h, so do not try to include it unless _WIN32 is not defined Signed-off-by: Jon TURNEY Reviewed-by: Peter Harris Signed-off-by: Julien Danjou --- src/xcb_auth.c | 2 +- src/xcb_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 #include #include -#include #ifdef __INTERIX /* _don't_ ask. interix has INADDR_LOOPBACK in here. */ @@ -40,6 +39,7 @@ #ifdef _WIN32 #include "xcb_windefs.h" #else +#include #include #include #include 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 #include #include -#include #ifdef _WIN32 #include "xcb_windefs.h" #else +#include #include #include #include -- cgit v1.2.3