From: Richard Levitte Date: Thu, 27 Jun 2002 14:55:52 +0000 (+0000) Subject: When compiling for Windows, make sure we have the windows definitions declared. X-Git-Tag: OpenSSL_0_9_6e~26^2~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb96d9d90d4af4b2cc38fd4a48cad2de4d403c37;p=oweals%2Fopenssl.git When compiling for Windows, make sure we have the windows definitions declared. Part of PR 123 --- 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);