summaryrefslogtreecommitdiffstats
path: root/xlib/xutil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-09 10:58:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-11-09 10:58:53 (GMT)
commit7e6a8b0a249f5e75c648e579156e3b30c8866eeb (patch)
tree25062bf113483fcb6c5df2a04eccfb0ea391e471 /xlib/xutil.c
parent79c47400ba2c83d6e7b6213f5d2d79994796a2fb (diff)
downloadtk-7e6a8b0a249f5e75c648e579156e3b30c8866eeb.zip
tk-7e6a8b0a249f5e75c648e579156e3b30c8866eeb.tar.gz
tk-7e6a8b0a249f5e75c648e579156e3b30c8866eeb.tar.bz2
Workaround for possible build problem on Windows/MacOSX: Some (older) versions of X11/Xutil.h have a wrong signature for XOffsetRegion/XUnionRegion, so move them out of the way temporarly.
Diffstat (limited to 'xlib/xutil.c')
-rw-r--r--xlib/xutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlib/xutil.c b/xlib/xutil.c
index 0514d7a..7b69e18 100644
--- a/xlib/xutil.c
+++ b/xlib/xutil.c
@@ -12,6 +12,7 @@
#include <stdlib.h>
#include <tk.h>
+#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>