diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-07 07:25:25 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-07 07:25:25 +0000 |
commit | f4413f14870550a7fb01200f4f41027b505ff96f (patch) | |
tree | 367c907fc0010de8954b7d368ca2778418132281 | |
parent | f1d4dfca2b64a115fd4b8f4c9300113ec957d269 (diff) | |
download | ruby-f4413f14870550a7fb01200f4f41027b505ff96f.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/ossl.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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 diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index f678ac1188..42578f7a75 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -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> |