summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-07-25 09:13:59 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-07-25 09:13:59 -0700
commitb7c96681b2bfc968b198058122c93050feb7927e (patch)
treef24fbea0cafee31d71d667da4955d2b600c71fe3
parent14faffc326b9ab1f738edb3ec7febdbe0f5bc079 (diff)
Replace HAVE_* tests with just checking for (__solaris__)
The installed headers can't be relying on the presence of the internal config.h defines, and it was breaking the xcb build for me as well due to config.h not being included early enough.
-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. */