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 9ccf4663cb0dc345d4ddc8766388a5afb5804498..ec137c4e31db1f595c2040a58295764abf1d2c84 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