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 0a5a8d2..39b7910 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 dc848f5..542df5b 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