From 4449bccf9b90dd434c6424ccd4d22fe653febc77 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Sun, 29 Jun 2008 08:14:26 +0000 Subject: merge revision(s) 17108: * ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined. a patch from arton in [ruby-dev:35078] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/openssl/ossl.h | 5 +++++ version.h | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a012b19a9..2376cc206 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jun 29 17:10:30 2008 NAKAMURA Usaku + + * ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined. + a patch from arton in [ruby-dev:35078] + Sun Jun 29 17:07:30 2008 wanabe * util.c (ruby_strtod): ruby_strtod don't allow a trailing diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h index 598bfb69d..0c23f10d3 100644 --- a/ext/openssl/ossl.h +++ b/ext/openssl/ossl.h @@ -42,6 +42,11 @@ extern "C" { #if defined(_WIN32) # define OpenFile WINAPI_OpenFile # define OSSL_NO_CONF_API 1 +# ifdef USE_WINSOCK2 +# include +# else +# include +# endif #endif #include #include diff --git a/version.h b/version.h index eacb3802a..0e06ba657 100644 --- a/version.h +++ b/version.h @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-29" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080629 -#define RUBY_PATCHLEVEL 241 +#define RUBY_PATCHLEVEL 242 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -- cgit