{NEXT,OPEN}STEP don't have pid_t.
[openssl.git] / e_os.h
diff --git a/e_os.h b/e_os.h
index 2147c17..1e06e0a 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -266,6 +266,9 @@ 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 */
+#    endif
 
 #    define OPENSSL_CONF       "openssl.cnf"
 #    define SSLEAY_CONF                OPENSSL_CONF