aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/x11-inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdraw/x11-inc.h')
-rw-r--r--src/libdraw/x11-inc.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libdraw/x11-inc.h b/src/libdraw/x11-inc.h
new file mode 100644
index 00000000..4baf4b1a
--- /dev/null
+++ b/src/libdraw/x11-inc.h
@@ -0,0 +1,31 @@
+#define Colormap XColormap
+#define Cursor XCursor
+#define Display XDisplay
+#define Drawable XDrawable
+#define Font XFont
+#define GC XGC
+#define Point XPoint
+#define Rectangle XRectangle
+#define Screen XScreen
+#define Visual XVisual
+#define Window XWindow
+
+#include <X11/Xlib.h>
+#include <X11/Xatom.h>
+#include <X11/Xutil.h>
+#include <X11/keysym.h>
+#include <X11/IntrinsicP.h>
+#include <X11/StringDefs.h>
+
+#undef Colormap
+#undef Cursor
+#undef Display
+#undef Drawable
+#undef Font
+#undef GC
+#undef Point
+#undef Rectangle
+#undef Screen
+#undef Visual
+#undef Window
+