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:
parent
54370de9f4
commit
8f5865e251
2 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue