summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-21 01:17:41 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-21 01:17:41 +0000
commite412278fdc6dbc8de9521a5bfe4c0f4136e102d5 (patch)
treea546adbbc6d60741c4edb0b0e52d067d54c8e0a7
parent71acab0ac811c28eb829639cf0b2f4f780caaa82 (diff)
* time.c: should include <errno.h> to refer errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--time.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d8da36d74..86cdb2bc37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Apr 21 10:17:17 2008 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * time.c: should include <errno.h> to refer errno.
+
Mon Apr 21 10:02:43 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* hash.c (recursive_hash): prototype.
diff --git a/time.c b/time.c
index ceefc109f1..3792701b06 100644
--- a/time.c
+++ b/time.c
@@ -13,6 +13,7 @@
#include "ruby.h"
#include <sys/types.h>
#include <time.h>
+#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>