From b7c96681b2bfc968b198058122c93050feb7927e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Jul 2006 09:13:59 -0700 Subject: 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. --- src/xcb.h | 6 +++--- 1 file 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 -#if HAVE_STDINT_H -#include -#elif HAVE_INTTYPES_H +#if defined(__solaris__) #include +#else +#include #endif /* FIXME: these names conflict with those defined in Xmd.h. */ -- cgit v1.2.3