summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/digest/defs.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index af7d1ae6f7..a4c45921c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Mar 14 14:24:15 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/digest/defs.h: inttypes.h is still needed.
+
Fri Mar 14 11:34:12 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* {bcc,win}32/Makefile.sub: follow below changes.
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index 77a134f364..bdffa26551 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -16,4 +16,8 @@
# define __END_DECLS
#endif
+#if defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
+#endif
+
#endif /* DEFS_H */