From 7b9b1f45d35ffeb055c509cba3e9775790d2206b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 23 Jul 2008 08:04:25 +0000 Subject: [PATCH] * ext/openssl/openssl_missing.h (d2i_of_void): define for older versions. [ruby-dev:35637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/openssl/openssl_missing.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index d2986387e2..dac30e74cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 23 17:04:22 2008 Nobuyoshi Nakada + + * ext/openssl/openssl_missing.h (d2i_of_void): define for older + versions. [ruby-dev:35637] + Wed Jul 23 13:53:36 2008 Nobuyoshi Nakada * ext/curses/extconf.rb: use try_static_assert. diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h index f492b9efae..3061a322d1 100644 --- a/ext/openssl/openssl_missing.h +++ b/ext/openssl/openssl_missing.h @@ -15,6 +15,10 @@ extern "C" { #endif +#ifndef TYPEDEF_D2I_OF +typedef char *d2i_of_void(); +#endif + /* * These functions are not included in headers of OPENSSL <= 0.9.6b */