aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-07 07:25:25 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-07 07:25:25 +0000
commitf4413f14870550a7fb01200f4f41027b505ff96f (patch)
tree367c907fc0010de8954b7d368ca2778418132281 /ext/openssl/ossl.h
parentf1d4dfca2b64a115fd4b8f4c9300113ec957d269 (diff)
downloadruby-f4413f14870550a7fb01200f4f41027b505ff96f.tar.gz
* ext/openssl/ossl.h: need to include winsock2.h before including
windows.h by some openssl headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/ossl.h')
-rw-r--r--ext/openssl/ossl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl.h b/ext/openssl/ossl.h
index f678ac1188..42578f7a75 100644
--- a/ext/openssl/ossl.h
+++ b/ext/openssl/ossl.h
@@ -31,6 +31,7 @@ extern "C" {
#if defined(_WIN32)
# define OpenFile WINAPI_OpenFile
# define OSSL_NO_CONF_API 1
+# include <winsock2.h>
#endif
#include <errno.h>
#include <openssl/err.h>