+2001-10-21 Bruno Haible <haible@clisp.cons.org>
+
+ * mkdtemp.c: Include <inttypes.h> if it exists. Needed on platforms
+ which have <inttypes.h> but not <stdint.h>, like BeOS.
+
2001-10-21 Bruno Haible <haible@clisp.cons.org>
* stdbool.h.in: Avoid syntax error on BeOS if <sys/socket.h> has
# include <stdint.h>
#endif
+#if HAVE_INTTYPES_H || _LIBC
+# include <inttypes.h>
+#endif
+
#if HAVE_UNISTD_H || _LIBC
# include <unistd.h>
#endif
+2001-10-21 Bruno Haible <haible@clisp.cons.org>
+
+ * mkdtemp.m4 (gt_FUNC_MKDTEMP): Also check for <inttypes.h>.
+
2001-10-21 Bruno Haible <haible@clisp.cons.org>
* gettext.m4 (AM_GNU_GETTEXT): In INTLLIBS, use ${top_builddir}
[
AC_REPLACE_FUNCS(mkdtemp)
AC_STAT_MACROS_BROKEN
- AC_CHECK_HEADERS(fcntl.h stdint.h sys/time.h time.h unistd.h)
+ AC_CHECK_HEADERS(fcntl.h inttypes.h stdint.h sys/time.h time.h unistd.h)
AC_CHECK_FUNCS(gettimeofday)
])