Some new names in asn1.h are longer than 31 chars, which disturbs the VMS C compilers...
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 61ff56eec7ef78595fdbb2180376aed4cf1b9773..69068bd684a4bf37ebec16101e169853ba4a8eb7 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -187,6 +187,7 @@ extern "C" {
 #define _O_TEXT O_TEXT
 #define _O_BINARY O_BINARY
 #define _int64 __int64
+#define _kbhit kbhit
 #endif
 
 #if defined(WIN16) && !defined(MONOLITH) && defined(SSLEAY) && defined(_WINEXITNOPERSIST)
@@ -245,6 +246,7 @@ extern "C" {
 #  else
      /* !defined VMS */
 #    include OPENSSL_UNISTD
+#    include <sys/types.h>
 
 #    define OPENSSL_CONF       "openssl.cnf"
 #    define SSLEAY_CONF                OPENSSL_CONF
@@ -293,7 +295,6 @@ extern HINSTANCE _hInstance;
 
 #  else
 
-#    include <sys/types.h>
 #    ifndef VMS
 #      include <sys/param.h>
 #    endif