summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>1998-02-24 11:02:43 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-25 14:58:00 +0000
commitdfe9444ca7881e716e9e8feaf20b55da491363ca (patch)
tree858ae366f65093b5a6cbd3e4e257b587547759ab /pp.c
parenteefabb09a1a549c1747d7c554d375ecb16cafff1 (diff)
downloadperl-dfe9444ca7881e716e9e8feaf20b55da491363ca.tar.gz
Re: ANNOUNCE: perl5.004_60 Configure patch is available
p4raw-id: //depot/perl@575
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/pp.c b/pp.c
index 2512979170..4264e9b8a1 100644
--- a/pp.c
+++ b/pp.c
@@ -105,12 +105,16 @@ static bool srand_called = FALSE;
/* variations on pp_null */
-#ifdef DONT_DECLARE_STD
#ifdef I_UNISTD
#include <unistd.h>
#endif
-#else
-extern pid_t getpid (void);
+
+/* XXX I can't imagine anyone who doesn't have this actually _needs_
+ it, since pid_t is an integral type.
+ --AD 2/20/1998
+*/
+#ifdef NEED_GETPID_PROTO
+extern Pid_t getpid (void);
#endif
PP(pp_stub)