From: Richard Levitte Date: Thu, 12 Jun 2003 00:56:27 +0000 (+0000) Subject: Make sure ssize_t is defined on SunOS4. X-Git-Tag: BEN_FIPS_TEST_1~38^2~56 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=700d86ea18b5c4f3fc0402ca5b4e9bc35f11d85c Make sure ssize_t is defined on SunOS4. PR: 585 --- diff --git a/e_os.h b/e_os.h index f70958df87..9eb6c1ed5e 100644 --- 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 */