projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e0574a6
)
Fix build on Solaris (use inttypes.h)
author
Ian Osgood
<iano@quirkster.com>
Fri, 7 Jul 2006 14:18:41 +0000
(07:18 -0700)
committer
Ian Osgood
<iano@quirkster.com>
Fri, 7 Jul 2006 14:18:41 +0000
(07:18 -0700)
src/xcb.h
patch
|
blob
|
history
diff --git
a/src/xcb.h
b/src/xcb.h
index
639f583
..
e19b19d
100644
(file)
--- a/
src/xcb.h
+++ b/
src/xcb.h
@@
-29,8
+29,11
@@
#define __XCB_H__
#include <sys/types.h>
-/* TODO: check for stdint in config? (HAVE_STDINT) fallback? */
+#if HAVE_STDINT_H
#include <stdint.h>
+#elif HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
/* FIXME: these names conflict with those defined in Xmd.h. */
#ifndef XMD_H