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

crypto/asn1/a_utctm.c
crypto/des/read_pwd.c

index 0a5a8d27536034d86d67b0a83812a6d0b4371c4a..39b79109720210e85e6b3e6a7167abff05727120 100644 (file)
 
 #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)
index dc848f5af3b7f0bff3d6e23ca2f9fb516f159bed..542df5bb6634dcf7ac57b2f51d1203bab4d62bd1 100644 (file)
@@ -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