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)
commit1a65bef99396a7e97fbdc4e964d1cacf8dee4984 (patch)
tree25062bf113483fcb6c5df2a04eccfb0ea391e471 /xlib/xutil.c
parentb2397ebe42189500971482f537b7da3b4996e8be (diff)
downloadtk-1a65bef99396a7e97fbdc4e964d1cacf8dee4984.zip
tk-1a65bef99396a7e97fbdc4e964d1cacf8dee4984.tar.gz
tk-1a65bef99396a7e97fbdc4e964d1cacf8dee4984.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>