From: John Ellson Date: Fri, 11 Nov 2011 19:28:33 +0000 (-0500) Subject: add explicit include of stdint.h for ptrdiff_t X-Git-Tag: LAST_LIBGRAPH~32^2~599 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16d2f65fa4ed0dd335bfdd197a35ccb4ad3281f6;p=graphviz add explicit include of stdint.h for ptrdiff_t --- diff --git a/ast_common.h.in b/ast_common.h.in index 95f790021..88affebbd 100644 --- a/ast_common.h.in +++ b/ast_common.h.in @@ -57,6 +57,14 @@ # define _sys_stat 1 #endif +#ifdef HAVE_STRING_H +# define _hdr_string 1 +#endif + +#ifdef HAVE_STDINT_H +# define _hdr_stdint 1 +#endif + #ifdef HAVE_STDARG_H # define _hdr_stdarg 1 #endif diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index f6daf8f97..d63a5f34a 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -95,6 +95,10 @@ extern "C" { #include #endif +#if _hdr_stdint +#include +#endif + #if _hdr_time #include #endif