Skip to content

Commit

Permalink
* error.c: include errno.h at beginning.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Nov 24, 2009
1 parent 54370de commit 8f5865e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Tue Nov 24 21:25:21 2009 Tanaka Akira <[email protected]>

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

Tue Nov 24 20:11:37 2009 Tanaka Akira <[email protected]>

* strftime.c: %Y format a year with 4 digits at least.
Expand Down
4 changes: 2 additions & 2 deletions error.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <errno.h>

#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0
#endif
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8f5865e

Please sign in to comment.