From 10735fd63591cdd788fbcc6cfd5152c6d3e34baa Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 28 Sep 2009 19:24:10 +0000 Subject: * include/ruby/st.h: include inttypes.h and stdint.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/st.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/ruby') diff --git a/include/ruby/st.h b/include/ruby/st.h index 76f240d1c..fd9bc4e1e 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -26,6 +26,13 @@ extern "C" { #include #endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif + #if SIZEOF_LONG == SIZEOF_VOIDP typedef unsigned long st_data_t; #elif SIZEOF_LONG_LONG == SIZEOF_VOIDP -- cgit