diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-07-25 09:13:59 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-07-25 09:13:59 -0700 |
commit | b7c96681b2bfc968b198058122c93050feb7927e (patch) | |
tree | f24fbea0cafee31d71d667da4955d2b600c71fe3 /src/xcb.h | |
parent | 14faffc326b9ab1f738edb3ec7febdbe0f5bc079 (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.
Diffstat (limited to 'src/xcb.h')
-rw-r--r-- | src/xcb.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. */ |