From b7725cf3ecfcb5f31834a8fb30f2522fc5c76f8c Mon Sep 17 00:00:00 2001 From: Yoshisato Yanagisawa Date: Mon, 18 Aug 2014 11:39:09 -0700 Subject: [PATCH] Include Windows.h in some source files. https://code.google.com/p/chromium/issues/detail?id=399172#c3 Change-Id: Ie5447f0d6901d802698eabadf3bd5d42d75f588d --- crypto/bio/fd.c | 2 ++ crypto/err/err.c | 4 ++++ crypto/thread.c | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/crypto/bio/fd.c b/crypto/bio/fd.c index c40056d1..da43fba8 100644 --- a/crypto/bio/fd.c +++ b/crypto/bio/fd.c @@ -60,6 +60,8 @@ #if !defined(OPENSSL_WINDOWS) #include +#else +#include #endif #include diff --git a/crypto/err/err.c b/crypto/err/err.c index a06e159c..fd3a76bf 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -114,6 +114,10 @@ #include #include +#if defined(OPENSSL_WINDOWS) +#include +#endif + #include #include #include diff --git a/crypto/thread.c b/crypto/thread.c index 6472cd3f..15e38bdd 100644 --- a/crypto/thread.c +++ b/crypto/thread.c @@ -58,6 +58,10 @@ #include +#if defined(OPENSSL_WINDOWS) +#include +#endif + #include #include