* include/ruby/win32.h: include errno.h before defining errnos.

see [ruby-core:29314]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2010-04-08 05:25:10 +00:00
parent 23d104a161
commit 3b86c8c4ae
2 changed files with 7 additions and 0 deletions

View file

@ -401,6 +401,8 @@ extern char *rb_w32_strerror(int);
/* #undef va_end */
/* winsock error map */
#include <errno.h>
#ifndef EWOULDBLOCK
# define EWOULDBLOCK WSAEWOULDBLOCK
#endif