From: Richard Levitte <levitte@openssl.org>
Date: Tue, 20 Feb 2001 12:44:46 +0000 (+0000)
Subject: Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
X-Git-Tag: OpenSSL_0_9_6a-beta1~23^2~58
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4981372d03a1fc051b59ba83fe2a2900519e8d8e;p=oweals%2Fopenssl.git

Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
get a chance to be defined.
---

diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 9ccf4663cb..ec137c4e31 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -61,6 +61,10 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <openssl/e_os.h>
+#include <openssl/crypto.h>
+#include <openssl/rand.h>
+
 #ifdef OPENSSL_SYS_VMS
 #include <unixio.h>
 #endif
@@ -73,10 +77,6 @@
 # include <sys/stat.h>
 #endif
 
-#include <openssl/e_os.h>
-#include <openssl/crypto.h>
-#include <openssl/rand.h>
-
 #undef BUFSIZE
 #define BUFSIZE	1024
 #define RAND_DATA 1024