diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-14 16:08:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-14 16:08:22 +0000 |
commit | 4baa00dc2b889a45ac27be5711bb7f905ef76c60 (patch) | |
tree | c77c5459006b735349980c3a26d33176307e8802 | |
parent | a5ed0865c5c7b7a372c90962a36d3718a067c13b (diff) | |
download | ruby-4baa00dc2b889a45ac27be5711bb7f905ef76c60.tar.gz |
* include/ruby/intern.h: should include sys/time.h for struct timeval
if it exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/intern.h | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed May 15 01:06:26 2013 NAKAMURA Usaku <usa@ruby-lang.org> + + * include/ruby/intern.h: should include sys/time.h for struct timeval + if it exists. + Wed May 15 00:23:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (warnflags): disable -Werror by default unless diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 6e1c2c2d90..e3ce65b01d 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,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 428 +#define RUBY_PATCHLEVEL 429 #define RUBY_RELEASE_DATE "2013-05-15" #define RUBY_RELEASE_YEAR 2013 |