Make sure ssize_t is defined on SunOS4.
authorRichard Levitte <levitte@openssl.org>
Thu, 12 Jun 2003 00:56:30 +0000 (00:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 12 Jun 2003 00:56:30 +0000 (00:56 +0000)
PR: 585

e_os.h

diff --git a/e_os.h b/e_os.h
index 58df717722c466763e5382f8667269abb8f076b6..a1c933745508fd803cf52401112fd1128b2ad54a 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -301,6 +301,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 NEWS4 /* setvbuf is missing on mips-sony-bsd */