1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* error.c: include errno.h at beginning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-11-24 12:26:06 +00:00
parent 54370de9f4
commit 8f5865e251
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 24 21:25:21 2009 Tanaka Akira <akr@fsij.org>
* error.c: include errno.h at beginning.
Tue Nov 24 20:11:37 2009 Tanaka Akira <akr@fsij.org>
* strftime.c: %Y format a year with 4 digits at least.

View file

@ -18,6 +18,8 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <errno.h>
#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0
#endif
@ -374,8 +376,6 @@ rb_check_typeddata(VALUE obj, const rb_data_type_t *data_type)
}
/* exception classes */
#include <errno.h>
VALUE rb_eException;
VALUE rb_eSystemExit;
VALUE rb_eInterrupt;