aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-02-20 12:44:46 +0000
committerRichard Levitte <levitte@openssl.org>2001-02-20 12:44:46 +0000
commit4981372d03a1fc051b59ba83fe2a2900519e8d8e (patch)
tree0f836aacc90c85d9a40f3a3e562e26602819f7c9 /crypto/rand/randfile.c
parent3ebac273f5794b9f13f0c736d56c6106d5f8b2af (diff)
downloadopenssl-4981372d03a1fc051b59ba83fe2a2900519e8d8e.zip
openssl-4981372d03a1fc051b59ba83fe2a2900519e8d8e.tar.gz
openssl-4981372d03a1fc051b59ba83fe2a2900519e8d8e.tar.bz2
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
get a chance to be defined.
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 9ccf466..ec137c4 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