* 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:
parent
54370de9f4
commit
8f5865e251
@ -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.
|
||||
|
4
error.c
4
error.c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user