Typo corrected.
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 2147c17052208adb260988443f89ffc28d8fd443..7f5f62d113372fa0b17d22fc4ed56cdd18882ec0 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -194,6 +194,10 @@ extern "C" {
 #  include <io.h>
 #  include <fcntl.h>
 
+#  ifdef __MINGW32__
+#    define ssize_t long
+#  endif
+
 #  if defined (__BORLANDC__)
 #    define _setmode setmode
 #    define _O_TEXT O_TEXT
@@ -266,6 +270,12 @@ extern "C" {
 #    ifndef NO_SYS_TYPES_H
 #      include <sys/types.h>
 #    endif
+#    ifdef NeXT
+#      define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
+                         * (unless when compiling with -D_POSIX_SOURCE,
+                         * which doesn't work for us) */
+#      define ssize_t int /* ditto */
+#    endif
 
 #    define OPENSSL_CONF       "openssl.cnf"
 #    define SSLEAY_CONF                OPENSSL_CONF