summaryrefslogtreecommitdiffstats
path: root/crypto/threads_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/threads_win.c')
-rw-r--r--crypto/threads_win.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/threads_win.c b/crypto/threads_win.c
index 545b9beb87..4e0de908ee 100644
--- a/crypto/threads_win.c
+++ b/crypto/threads_win.c
@@ -7,6 +7,10 @@
* https://www.openssl.org/source/license.html
*/
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
#include <openssl/crypto.h>
#if defined(OPENSSL_THREADS) && !defined(CRYPTO_TDEBUG) && defined(OPENSSL_SYS_WINDOWS)