diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | error.c | 4 |
2 files changed, 6 insertions, 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. @@ -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; |