aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/openssl_missing.h
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
commit7b9b1f45d35ffeb055c509cba3e9775790d2206b (patch)
tree36fae51f576ee931627b9cc76a80f865e6b7d986 /ext/openssl/openssl_missing.h
parent391f0a726fcf5e8787191446db29e1acc5dc9c4b (diff)
downloadruby-7b9b1f45d35ffeb055c509cba3e9775790d2206b.tar.gz
* 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
Diffstat (limited to 'ext/openssl/openssl_missing.h')
-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 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
*/