summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/e_os.h b/e_os.h
index 869a63dccf..7f5f62d113 100644
--- a/e_os.h
+++ b/e_os.h
@@ -271,8 +271,10 @@ extern "C" {
# include <sys/types.h>
# endif
# ifdef NeXT
-# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP */
-# define ssize_t long
+# 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"