diff options
author | rhe <rhe@ruby-lang.org> | 2016-06-06 01:40:27 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-06-09 15:05:21 +0900 |
commit | c076bf718f48eab3140b6f9201617263b3ef2902 (patch) | |
tree | 562d0fdca89c43ad55db4ba41f93c4e9967cb988 | |
parent | 8c847251d5cba9713756f32ec014326b07603d56 (diff) | |
download | ruby-openssl-c076bf718f48eab3140b6f9201617263b3ef2902.tar.gz |
openssl: fix compile on VC
* ext/openssl/openssl_missing.h: Include ruby/config.h. r55285 added
some inline functions but VC does not recognize 'inline' keyword.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/openssl/openssl_missing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openssl/openssl_missing.h b/ext/openssl/openssl_missing.h index e418c505..67df70a5 100644 --- a/ext/openssl/openssl_missing.h +++ b/ext/openssl/openssl_missing.h @@ -10,6 +10,8 @@ #if !defined(_OSSL_OPENSSL_MISSING_H_) #define _OSSL_OPENSSL_MISSING_H_ +#include "ruby/config.h" + /* added in 0.9.8X */ #if !defined(HAVE_EVP_CIPHER_CTX_NEW) EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); |