From: Richard Levitte Date: Thu, 27 Jun 2002 14:56:02 +0000 (+0000) Subject: When compiling for Windows, make sure we have the windows definitions declared. X-Git-Tag: OpenSSL_0_9_7-beta3~73 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=00e608c89de79d731772443040e6060f7eb72ecd;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);