Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
authorRichard Levitte <levitte@openssl.org>
Tue, 20 Feb 2001 12:44:46 +0000 (12:44 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 20 Feb 2001 12:44:46 +0000 (12:44 +0000)
get a chance to be defined.

crypto/rand/randfile.c

index 9ccf466..ec137c4 100644 (file)
 #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
 # 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