]> granicus.if.org Git - graphviz/commitdiff
add explicit include of stdint.h for ptrdiff_t
authorJohn Ellson <ellson@research.att.com>
Fri, 11 Nov 2011 19:28:33 +0000 (14:28 -0500)
committerJohn Ellson <ellson@research.att.com>
Fri, 11 Nov 2011 19:28:33 +0000 (14:28 -0500)
ast_common.h.in
lib/sfio/sfhdr.h

index 95f790021a317715a793d65604f44f3d8ec11878..88affebbd4b232424d6301c172e4d1e993c9b1b6 100644 (file)
 #  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
index f6daf8f97c9906d1af77a2447d0e81dc58af3bd3..d63a5f34ae53a9e6d74d266929196762f9867eda 100644 (file)
@@ -95,6 +95,10 @@ extern "C" {
 #include       <string.h>
 #endif
 
+#if _hdr_stdint
+#include       <stdint.h>
+#endif
+
 #if _hdr_time
 #include       <time.h>
 #endif