1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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> Mon Nov 7 13:43:51 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/stubs.c (_nativethread_consistency_check): use simpler * ext/tk/stubs.c (_nativethread_consistency_check): use simpler

View file

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