diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index e17aa7a9f..b2f6146a0 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);