* ext/openssl/ossl.h: need to include winsock2.h before including

windows.h by some openssl headers.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2005-11-07 07:25:25 +00:00
parent f1d4dfca2b
commit f4413f1487
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Nov 7 16:23:23 2005 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/openssl/ossl.h: need to include winsock2.h before including
windows.h by some openssl headers.
Mon Nov 7 13:43:51 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/stubs.c (_nativethread_consistency_check): use simpler

View File

@ -31,6 +31,7 @@ extern "C" {
#if defined(_WIN32)
# define OpenFile WINAPI_OpenFile
# define OSSL_NO_CONF_API 1
# include <winsock2.h>
#endif
#include <errno.h>
#include <openssl/err.h>