mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* time.c: should include <errno.h> to refer errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7dd42a48e1
commit
6a45f0a50e
2 changed files with 5 additions and 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.
|
||||
|
|
1
time.c
1
time.c
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue