diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | time.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Mon Apr 21 10:06:26 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * time.c: should include <errno.h> to refer errno. + Mon Apr 21 09:58:04 2008 NAKAMURA Usaku <usa@ruby-lang.org> * time.c (rb_strftime): check errno to detect strftime(3)'s error. @@ -12,6 +12,7 @@ #include "ruby/ruby.h" #include <sys/types.h> #include <time.h> +#include <errno.h> #include "ruby/encoding.h" #ifdef HAVE_UNISTD_H |