From fb96d9d90d4af4b2cc38fd4a48cad2de4d403c37 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 27 Jun 2002 14:55:52 +0000 Subject: [PATCH] When compiling for Windows, make sure we have the windows definitions declared. Part of PR 123 --- crypto/rand/rand.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index e17aa7a9f7..b2f6146a0e 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -61,6 +61,11 @@ #include #include +#include + +#if defined(OPENSSL_SYS_WINDOWS) +#include +#endif #ifdef __cplusplus extern "C" { @@ -98,7 +103,7 @@ int RAND_egd(const char *path); int RAND_egd_bytes(const char *path,int bytes); int RAND_poll(void); -#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) +#if defined(OPENSSL_SYS_WINDOWS) void RAND_screen(void); int RAND_event(UINT, WPARAM, LPARAM); -- GitLab