projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a32c1
)
When compiling for Windows, make sure we have the windows definitions declared.
author
Richard Levitte
<levitte@openssl.org>
Thu, 27 Jun 2002 14:55:52 +0000
(14:55 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 27 Jun 2002 14:55:52 +0000
(14:55 +0000)
Part of PR 123
crypto/rand/rand.h
patch
|
blob
|
history
diff --git
a/crypto/rand/rand.h
b/crypto/rand/rand.h
index e17aa7a9f731fbcaa5f4d17867414e3081c182f0..b2f6146a0e17695c3efd72f0f50ea21f60a5846f 100644
(file)
--- a/
crypto/rand/rand.h
+++ b/
crypto/rand/rand.h
@@
-61,6
+61,11
@@
#include <stdlib.h>
#include <openssl/ossl_typ.h>
+#include <openssl/opensslconf.h>
+
+#if defined(OPENSSL_SYS_WINDOWS)
+#include <windows.h>
+#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);