summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-02-20 13:22:35 +0000
committerRichard Levitte <levitte@openssl.org>2001-02-20 13:22:35 +0000
commit7ab1a391814e588506fe37c162a7cc760a422fd6 (patch)
tree8e25dfafa5ab92266ef4ffdfd5990f19ed1c6be2 /crypto
parent56dde3ebe6df8d925fa2465df9c87ed5506aa107 (diff)
Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMS
get a chance to be defined.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/a_utctm.c4
-rw-r--r--crypto/des/read_pwd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c
index 0a5a8d2753..39b7910972 100644
--- a/crypto/asn1/a_utctm.c
+++ b/crypto/asn1/a_utctm.c
@@ -58,13 +58,13 @@
#include <stdio.h>
#include <time.h>
+#include "cryptlib.h"
+#include <openssl/asn1.h>
#ifdef OPENSSL_SYS_VMS
#include <descrip.h>
#include <lnmdef.h>
#include <starlet.h>
#endif
-#include "cryptlib.h"
-#include <openssl/asn1.h>
#if 0
int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char **pp)
diff --git a/crypto/des/read_pwd.c b/crypto/des/read_pwd.c
index dc848f5af3..542df5bb66 100644
--- a/crypto/des/read_pwd.c
+++ b/crypto/des/read_pwd.c
@@ -56,8 +56,8 @@
* [including the GNU Public Licence.]
*/
-#if !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS) && !defined(OPENSSL_SYS_WIN32)
#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_SYS_MSDOS) && !defined(OPENSSL_SYS_VMS) && !defined(OPENSSL_SYS_WIN32)
#ifdef OPENSSL_UNISTD
# include OPENSSL_UNISTD
#else