aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/rand.h')
-rw-r--r--crypto/rand/rand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h
index 1331db99db..6b276d05e2 100644
--- a/crypto/rand/rand.h
+++ b/crypto/rand/rand.h
@@ -59,6 +59,8 @@
#ifndef HEADER_RAND_H
#define HEADER_RAND_H
+#include <openssl/e_os2.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -101,7 +103,7 @@ int RAND_poll(void);
}
#endif
-#if defined(WINDOWS) || defined(WIN32)
+#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32)
#include <windows.h>
#ifdef __cplusplus