From ff504d3cc96bf315b06c988c080ab47121ce3c41 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/st.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/ruby/st.h b/include/ruby/st.h index 76f240d1ca..fd9bc4e1ec 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 v1.2.3