summaryrefslogtreecommitdiffstats
path: root/ext/openssl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 08:04:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-23 08:04:25 +0000
commit47863c90a100e67ddd7daa3aee6974c6ee55a088 (patch)
tree36fae51f576ee931627b9cc76a80f865e6b7d986 /ext/openssl
parent21f336678270173658d938b6dd68d870c494aef2 (diff)
downloadruby-47863c90a100e67ddd7daa3aee6974c6ee55a088.tar.gz
ruby-47863c90a100e67ddd7daa3aee6974c6ee55a088.tar.xz
ruby-47863c90a100e67ddd7daa3aee6974c6ee55a088.zip
* ext/openssl/openssl_missing.h (d2i_of_void): define for older
versions. [ruby-dev:35637] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/openssl_missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h
index f492b9efa..3061a322d 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
*/