Include Xwindows.h on WIN32 to avoid type clashes
authorJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 4 Jan 2012 18:21:51 +0000 (18:21 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 5 Nov 2012 23:06:26 +0000 (23:06 +0000)
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
xdpyinfo.c

index dcca0ad..2482156 100644 (file)
@@ -78,6 +78,10 @@ in this Software without prior written authorization from The Open Group.
 
 #endif
 
+#ifdef WIN32
+#include <X11/Xwindows.h>
+#endif
+
 #include <X11/Xlib-xcb.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>