ruby-changes:14093
From: akr <ko1@a...>
Date: Tue, 24 Nov 2009 21:26:22 +0900 (JST)
Subject: [ruby-changes:14093] Ruby:r25907 (trunk): * error.c: include errno.h at beginning.
akr 2009-11-24 21:26:06 +0900 (Tue, 24 Nov 2009) New Revision: 25907 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25907 Log: * error.c: include errno.h at beginning. Modified files: trunk/ChangeLog trunk/error.c Index: ChangeLog =================================================================== --- ChangeLog (revision 25906) +++ ChangeLog (revision 25907) @@ -1,3 +1,7 @@ +Tue Nov 24 21:25:21 2009 Tanaka Akira <akr@f...> + + * error.c: include errno.h at beginning. + Tue Nov 24 20:11:37 2009 Tanaka Akira <akr@f...> * strftime.c: %Y format a year with 4 digits at least. Index: error.c =================================================================== --- error.c (revision 25906) +++ error.c (revision 25907) @@ -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 @@ } /* exception classes */ -#include <errno.h> - VALUE rb_eException; VALUE rb_eSystemExit; VALUE rb_eInterrupt; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/