diff --git a/libguile/tags.h b/libguile/tags.h index 706b34996..6665a5ee2 100644 --- a/libguile/tags.h +++ b/libguile/tags.h @@ -29,6 +29,14 @@ /* picks up scmconfig.h too */ #include "libguile/__scm.h" +#if HAVE_INTTYPES_H +# include /* for INTPTR_MAX and friends */ +#else +# if HAVE_STDINT_H +# include /* for INTPTR_MAX and friends */ +# endif +#endif + /* In the beginning was the Word: */ #if SCM_SIZEOF_INTPTR_T != 0 && defined(INTPTR_MAX) && defined(INTPTR_MIN)