* include/ruby/ruby.h (inttypes.h): includes always if available.

* string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-03-14 08:04:45 +00:00
parent 7476940582
commit 657429b75b
4 changed files with 10 additions and 8 deletions

View file

@ -58,6 +58,10 @@ extern "C" {
# include <intrinsics.h>
#endif
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#include <stddef.h>
#include <stdio.h>