summaryrefslogtreecommitdiff
path: root/src/xcb.h
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-03-16 11:27:06 -0800
committerJamey Sharp <jamey@minilop.net>2006-03-16 11:27:06 -0800
commitdf5d8adc1f18776e4417a03b465dae9273511fb1 (patch)
tree9095ef4469d0b49b7841aa60bf770533e66c3af0 /src/xcb.h
parent5ccf7216d266f22755e40a8b9858ebd60fd48f40 (diff)
The typedefs replacing Xmd.h conflict with Xmd.h. Here is a hacky workaround: FIXME!
Diffstat (limited to 'src/xcb.h')
-rw-r--r--src/xcb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xcb.h b/src/xcb.h
index 7998d20..204164a 100644
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -32,6 +32,8 @@
/* TODO: check for stdint in config? (HAVE_STDINT) fallback? */
#include <stdint.h>
+/* FIXME: these names conflict with those defined in Xmd.h. */
+#ifndef XMD_H
typedef uint8_t BYTE;
typedef uint8_t BOOL;
typedef uint8_t CARD8;
@@ -40,6 +42,7 @@ typedef uint32_t CARD32;
typedef int8_t INT8;
typedef int16_t INT16;
typedef int32_t INT32;
+#endif /* XMD_H */
#include <X11/X.h>
#include <sys/uio.h>