summaryrefslogtreecommitdiff
path: root/e_os2.h
diff options
context:
space:
mode:
authorlevitte <levitte>2001-02-22 13:59:36 +0000
committerlevitte <levitte>2001-02-22 13:59:36 +0000
commita3ac269b37e8b7da108cf6477435edce3b4f6e16 (patch)
treefd89f5f683c416ba066bec85299021d556b22972 /e_os2.h
parent8162d3afbaa3818b755e09c3477441532a059c0f (diff)
downloadopenssl-a3ac269b37e8b7da108cf6477435edce3b4f6e16.tar.gz
Always include opensslconf.h, even if it's already been done before.
The reason is that some parts are only included when certain other include files have been included. Also, it seems that the rest of the OpenSSL code assumes that all kinds of M$ Windows are MSDOS as well...
Diffstat (limited to 'e_os2.h')
-rw-r--r--e_os2.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/e_os2.h b/e_os2.h
index 4785720a5..be20eac62 100644
--- a/e_os2.h
+++ b/e_os2.h
@@ -53,11 +53,11 @@
*
*/
+#include <openssl/opensslconf.h>
+
#ifndef HEADER_E_OS2_H
#define HEADER_E_OS2_H
-#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -108,6 +108,9 @@ extern "C" {
#if defined(OPENSSL_SYS_WIN16) || defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINNT)
# undef OPENSSL_SYS_UNIX
# define OPENSSL_SYS_WINDOWS
+# ifndef OPENSSL_SYS_MSDOS
+# define OPENSSL_SYS_MSDOS
+# endif
#endif
/* -------------------------------- OpenVMS -------------------------------- */