summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2012-01-23 14:18:02 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-23 14:21:07 +0000
commitbf15ccb6821664746ec23d769d757edf8059007e (patch)
treec0a6f09ca265e59e6525d25fc56465242280b3a8
parentcadcbd376f0a5d17a71a2fe2f8ced5d93232921a (diff)
Add XWindows.h include to Xxcbint.h
This avoids some conflicting type re-definition errors which occur if we attempt to include Windows headers after Xmd.h Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--src/Xxcbint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Xxcbint.h b/src/Xxcbint.h
index 1fa1a4d7..a8c9a670 100644
--- a/src/Xxcbint.h
+++ b/src/Xxcbint.h
@@ -7,6 +7,9 @@
#include <assert.h>
#include <stdint.h>
#include <X11/Xlibint.h>
+#ifdef WIN32
+#include <X11/Xwindows.h>
+#endif
#include <X11/Xlib-xcb.h>
#include "locking.h"