From 8ba93ebb757706ae8dcf5af57c6e3812f72de80e Mon Sep 17 00:00:00 2001 From: Ian Osgood Date: Fri, 7 Jul 2006 07:18:41 -0700 Subject: [PATCH] Fix build on Solaris (use inttypes.h) --- src/xcb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xcb.h b/src/xcb.h index 639f583..e19b19d 100644 --- a/src/xcb.h +++ b/src/xcb.h @@ -29,8 +29,11 @@ #define __XCB_H__ #include -/* TODO: check for stdint in config? (HAVE_STDINT) fallback? */ +#if HAVE_STDINT_H #include +#elif HAVE_INTTYPES_H +#include +#endif /* FIXME: these names conflict with those defined in Xmd.h. */ #ifndef XMD_H -- 2.34.1