summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/asynctest.c4
-rw-r--r--test/threadstest.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/asynctest.c b/test/asynctest.c
index 6728058c36..026536b065 100644
--- a/test/asynctest.c
+++ b/test/asynctest.c
@@ -7,6 +7,10 @@
* https://www.openssl.org/source/license.html
*/
+#ifdef _WIN32
+# include <windows.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <openssl/async.h>
diff --git a/test/threadstest.c b/test/threadstest.c
index db864b2900..b2e96fa3a1 100644
--- a/test/threadstest.c
+++ b/test/threadstest.c
@@ -7,6 +7,10 @@
* https://www.openssl.org/source/license.html
*/
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
#include <stdio.h>
#include <openssl/crypto.h>