aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-20 03:27:54 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-20 03:27:54 +0000
commit1a3950e2946026780d973b294d4c49c8d9e346f0 (patch)
treef49df55cb5292bd60b5e58c84e959c9088da0317
parenta9f76259cee5a52ae02ca3baa11eb5a896ac6393 (diff)
downloadruby-1a3950e2946026780d973b294d4c49c8d9e346f0.tar.gz
* configure.in: Add stdlib.h inclusion into rb_cv_negative_time_t
test becuase it's required for exit(3). The patch is created by Tomoyuki Chikanaga. [Bug #4287] [ruby-dev:43060] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--configure.in1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 606079cdc5..04a49d545e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Jan 20 12:15:44 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * configure.in: Add stdlib.h inclusion into rb_cv_negative_time_t
+ test becuase it's required for exit(3). The patch is
+ created by Tomoyuki Chikanaga. [Bug #4287] [ruby-dev:43060]
+
Thu Jan 20 11:39:41 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/webrick/utils.rb (TestWEBrick::RubyBin): test CGI does not need
diff --git a/configure.in b/configure.in
index 5e14df6aa5..3a60ddf9a8 100644
--- a/configure.in
+++ b/configure.in
@@ -1444,6 +1444,7 @@ fi
AC_CACHE_CHECK(for negative time_t for gmtime(3), rb_cv_negative_time_t,
[AC_TRY_RUN([
+#include <stdlib.h>
#include <time.h>
void