summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xcb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xcb.h b/src/xcb.h
index e19b19d..f720469 100644
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -29,10 +29,10 @@
#define __XCB_H__
#include <sys/types.h>
-#if HAVE_STDINT_H
-#include <stdint.h>
-#elif HAVE_INTTYPES_H
+#if defined(__solaris__)
#include <inttypes.h>
+#else
+#include <stdint.h>
#endif
/* FIXME: these names conflict with those defined in Xmd.h. */