From: ellson Date: Thu, 26 Feb 2009 16:01:43 +0000 (+0000) Subject: still need stdint.h dance for intptr_t X-Git-Tag: LAST_LIBGRAPH~32^2~2391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2238ccd949a008230429b6f7deb7a058f3de1752;p=graphviz still need stdint.h dance for intptr_t --- diff --git a/lib/rbtree/stack.h b/lib/rbtree/stack.h index a80fbdfb1..fb50ddad8 100755 --- a/lib/rbtree/stack.h +++ b/lib/rbtree/stack.h @@ -12,6 +12,17 @@ extern "C" { #endif +/* needed for intptr_t */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#ifdef HAVE_STDINT_H +#include +#endif +#if HAVE_INTTYPES_H +#include +#endif + #include "misc.h" /* CONVENTIONS: All data structures for stacks have the prefix */