From: Eric Anholt Date: Tue, 25 Jul 2006 16:13:59 +0000 (-0700) Subject: Replace HAVE_* tests with just checking for (__solaris__) X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c96681b2bfc968b198058122c93050feb7927e;hp=14faffc326b9ab1f738edb3ec7febdbe0f5bc079;p=free-sw%2Fxcb%2Flibxcb 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. --- 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. */