summaryrefslogtreecommitdiff
path: root/ext/digest/defs.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-14 05:24:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-14 05:24:17 +0000
commit5a182154069edc763ff7b0186e20a17e76b1391b (patch)
treeade1621754fa597e5d3104131532d0b229748822 /ext/digest/defs.h
parentd6ca5fefd0807c05cd2e05d7397af2ed6e78d11e (diff)
* ext/digest/defs.h: inttypes.h is still needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/defs.h')
-rw-r--r--ext/digest/defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index 77a134f..bdffa26 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 */