From: Ian Osgood Date: Fri, 7 Jul 2006 14:18:41 +0000 (-0700) Subject: Fix build on Solaris (use inttypes.h) X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba93ebb757706ae8dcf5af57c6e3812f72de80e;hp=e0574a617b9133cd728be8ea3618ef1312eeebbf;p=free-sw%2Fxcb%2Flibxcb Fix build on Solaris (use inttypes.h) --- 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