From 9316e88c68c2a2189cf90c55e9850d7428bcd356 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 4 Jan 2012 18:25:26 +0000 Subject: Use Xwinsock.h on WIN32 Signed-off-by: Jon TURNEY Reviewed-by: Colin Harrison --- xhost.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xhost.c b/xhost.c index f5633a1..7e6f88f 100644 --- a/xhost.c +++ b/xhost.c @@ -82,12 +82,18 @@ X Window System is a trademark of The Open Group. #include #ifdef NEEDSOCKETS +#ifdef WIN32 +#include +#else #include #include #include +#endif #endif /* NEEDSOCKETS */ +#ifndef WIN32 #include +#endif #ifdef SECURE_RPC -- cgit v1.2.3