diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/intern.h | 4 | ||||
-rw-r--r-- | version.h | 6 |
3 files changed, 12 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Wed May 15 23:22:09 2013 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org> + + * include/ruby/intern.h: should include sys/time.h for struct timeval + if it exists. [ruby-list:49363] + Tue May 14 20:21:41 2013 Eric Hodel <drbrain@segment7.net> * lib/rubygems/config_file.rb: Lazily load .gem/credentials to only diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a66848b5b8..3ffb05c933 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -36,6 +36,10 @@ extern "C" { #include <sys/types.h> #endif +#if defined(HAVE_SYS_TIME_H) +#include <sys/time.h> +#endif + #include "ruby/st.h" #if defined __GNUC__ && __GNUC__ >= 4 @@ -1,10 +1,10 @@ #define RUBY_VERSION "2.0.0" -#define RUBY_RELEASE_DATE "2013-05-14" -#define RUBY_PATCHLEVEL 195 +#define RUBY_RELEASE_DATE "2013-05-15" +#define RUBY_PATCHLEVEL 196 #define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_MONTH 5 -#define RUBY_RELEASE_DAY 14 +#define RUBY_RELEASE_DAY 15 #include "ruby/version.h" |