From f4413f14870550a7fb01200f4f41027b505ff96f Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 7 Nov 2005 07:25:25 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ ext/openssl/ossl.h | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index edbe6165ef..57bc8d6d9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 7 16:23:23 2005 NAKAMURA Usaku + + * 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 * 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 #endif #include #include