diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-08 05:25:10 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-08 05:25:10 +0000 |
commit | 3b86c8c4aeb9a93a34129ad61cd3df29ce634086 (patch) | |
tree | ffdc4c36d1b6a185c72bf57fe5f19572f7d23036 /include | |
parent | 23d104a1611f4dd442b24980d37e8c344a529c56 (diff) | |
download | ruby-3b86c8c4aeb9a93a34129ad61cd3df29ce634086.tar.gz |
* 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
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index ebbb32dcc3..cd7353580f 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -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 |