summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2012-01-04 18:21:51 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-05 23:06:26 +0000
commit5509502647a997959ec056fec23d471b73eddb5f (patch)
treedab30873b0bbd31ba466c9b2ceb0ef388819f3da
parent02376118fb58c05067054be3f2e469f461f81757 (diff)
Include Xwindows.h on WIN32 to avoid type clashes
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-rw-r--r--xdpyinfo.c4
1 files changed, 4 insertions, 0 deletions
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 <X11/Xwindows.h>
+#endif
+
#include <X11/Xlib-xcb.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>