aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-09-04 19:01:26 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-10-28 11:31:00 +0900
commitec8e28e7d8440d619a24e93a872fb2955011b25c (patch)
treea446a673ede710e756759de78020adb24905f297 /ext/openssl/ossl.h
parent536c643759ea00aba7815c300cc867f6367b3a6a (diff)
downloadruby-openssl-ec8e28e7d8440d619a24e93a872fb2955011b25c.tar.gz
Always include openssl/crypto.h
It should be usable regardless of the platform.
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r--ext/openssl/ossl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h
index 7172e39a..00d0b1b6 100644
--- a/ext/openssl/ossl.h
+++ b/ext/openssl/ossl.h
@@ -47,9 +47,7 @@
#include <openssl/rand.h>
#include <openssl/conf.h>
#include <openssl/conf_api.h>
-#if !defined(_WIN32)
-# include <openssl/crypto.h>
-#endif
+#include <openssl/crypto.h>
#if !defined(OPENSSL_NO_ENGINE)
# include <openssl/engine.h>
#endif