diff --git a/ChangeLog b/ChangeLog index e19a543bca..28b386a95e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto + + * time.c: should include to refer errno. + Mon Apr 21 09:58:04 2008 NAKAMURA Usaku * time.c (rb_strftime): check errno to detect strftime(3)'s error. diff --git a/time.c b/time.c index ba4c69ef0a..a84c6f3d90 100644 --- a/time.c +++ b/time.c @@ -12,6 +12,7 @@ #include "ruby/ruby.h" #include #include +#include #include "ruby/encoding.h" #ifdef HAVE_UNISTD_H