Make sure ssize_t is defined on SunOS4.
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index f70958d..9eb6c1e 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -331,6 +331,8 @@ extern "C" {
 #      define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
                          * (unless when compiling with -D_POSIX_SOURCE,
                          * which doesn't work for us) */
+#    endif
+#    if defined(NeXT) || defined(OPENSSL_SYS_NEWS4) || defined(OPENSSL_SYS_SUNOS)
 #      define ssize_t int /* ditto */
 #    endif
 #    ifdef OPENSSL_SYS_NEWS4 /* setvbuf is missing on mips-sony-bsd */