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.
This commit is contained in:
parent
14faffc326
commit
b7c96681b2
|
@ -29,10 +29,10 @@
|
||||||
#define __XCB_H__
|
#define __XCB_H__
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if HAVE_STDINT_H
|
#if defined(__solaris__)
|
||||||
#include <stdint.h>
|
|
||||||
#elif HAVE_INTTYPES_H
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
#else
|
||||||
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FIXME: these names conflict with those defined in Xmd.h. */
|
/* FIXME: these names conflict with those defined in Xmd.h. */
|
||||||
|
|
Loading…
Reference in New Issue