From cc8926ec8fcecae89ceab91ef753de93e49568f9 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 2 Apr 2019 11:14:10 +0200 Subject: [PATCH] crypto/rand/rand_win.c: include "e_os.h" to get the default _WIN32_WINNT This helps decide if the BCrypt API should be used or not. Fixes #8635 Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8638) --- crypto/rand/rand_win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index 278aee08b4..02d96a8a2a 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -11,6 +11,7 @@ #include #include "rand_lcl.h" #include "internal/rand_int.h" +#include "e_os.h" /* For a default _WIN32_WINNT */ #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) # ifndef OPENSSL_RAND_SEED_OS -- 2.25.1