fix memory leak in s3_clnt.c
[openssl.git] / e_os2.h
diff --git a/e_os2.h b/e_os2.h
index 2bc0b48798b1a5933a1c102adc63a439d8dcb60e..bd97b921a8f513674abd0bb3360ea24711dd2c26 100644 (file)
--- a/e_os2.h
+++ b/e_os2.h
@@ -7,6 +7,16 @@
 extern "C" {
 #endif
 
+#include <openssl/opensslconf.h> /* OPENSSL_UNISTD */
+
+#ifdef MSDOS
+# define OPENSSL_UNISTD_IO <io.h>
+# define OPENSSL_DECLARE_EXIT extern void exit(int);
+#else
+# define OPENSSL_UNISTD_IO OPENSSL_UNISTD
+# define OPENSSL_DECLARE_EXIT /* declared in unistd.h */
+#endif
+
 /* Definitions of OPENSSL_GLOBAL and OPENSSL_EXTERN,
    to define and declare certain global
    symbols that, with some compilers under VMS, have to be defined and