[PATCH app/xdpyinfo] Include Xwindows.h on WIN32 to avoid type clashes

Jon TURNEY jon.turney at dronecode.org.uk
Mon Oct 29 06:38:57 PDT 2012


Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 xdpyinfo.c |    4 ++++
 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>
-- 
1.7.9



More information about the xorg-devel mailing list