From: Hans Mulder <hansmu@xs4all.nl>
Date: Sun, 15 Feb 1998 23:04:19 +0000 (+0100)
Subject: NeXT doesn't need DONT_DECLARE_STD (was:
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee0964f10af7ff340bbbaed95f73005b6e72277c;p=p5sagit%2Fp5-mst-13.2.git

NeXT doesn't need DONT_DECLARE_STD (was:
	NeXT   needs DONT_DECLARE_STD)

p4raw-id: //depot/perl@541
---

diff --git a/perl.h b/perl.h
index 9b521b9..686752c 100644
--- a/perl.h
+++ b/perl.h
@@ -118,6 +118,10 @@ register struct op *op asm(stringify(OP_IN_REGISTER));
 # define DONT_DECLARE_STD 1
 #endif
 
+#if defined(NeXT) && !defined(_POSIX_SOURCE)
+#   define MISSING_PID_T
+#endif
+
 #if defined(HASVOLATILE) || defined(STANDARD_C)
 #   ifdef __cplusplus
 #	define VOL		// to temporarily suppress warnings
@@ -134,6 +138,10 @@ register struct op *op asm(stringify(OP_IN_REGISTER));
 #define TAINT_ENV()	if (tainting) { taint_env(); }
 #define TAINT_PROPER(s)	if (tainting) { taint_proper(no_security, s); }
 
+#ifdef MISSING_PID_T
+typedef int pid_t;
+#endif
+
 /* XXX All process group stuff is handled in pp_sys.c.  Should these 
    defines move there?  If so, I could simplify this a lot. --AD  9/96.
 */