From 5509502647a997959ec056fec23d471b73eddb5f Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Wed, 4 Jan 2012 18:21:51 +0000 Subject: Include Xwindows.h on WIN32 to avoid type clashes Signed-off-by: Jon TURNEY Reviewed-by: Yaakov Selkowitz --- xdpyinfo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xdpyinfo.c b/xdpyinfo.c index dcca0ad..2482156 100644 --- a/xdpyinfo.c +++ b/xdpyinfo.c @@ -78,6 +78,10 @@ in this Software without prior written authorization from The Open Group. #endif +#ifdef WIN32 +#include +#endif + #include #include #include -- cgit v1.2.3