projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace HAVE_* tests with just checking for (__solaris__)
[free-sw/xcb/libxcb]
/
src
/
xcb.h
diff --git
a/src/xcb.h
b/src/xcb.h
index
e19b19d
..
f720469
100644
(file)
--- a/
src/xcb.h
+++ b/
src/xcb.h
@@
-29,10
+29,10
@@
#define __XCB_H__
#include <sys/types.h>
#define __XCB_H__
#include <sys/types.h>
-#if HAVE_STDINT_H
-#include <stdint.h>
-#elif HAVE_INTTYPES_H
+#if defined(__solaris__)
#include <inttypes.h>
#include <inttypes.h>
+#else
+#include <stdint.h>
#endif
/* FIXME: these names conflict with those defined in Xmd.h. */
#endif
/* FIXME: these names conflict with those defined in Xmd.h. */