From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Tue, 14 May 2002 13:48:46 +0000 (+0000)
Subject: reentr.h affects more C files than just reentr.c
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a4af207cede5b404b66a75e2aef9bcb3117451b7;p=p5sagit%2Fp5-mst-13.2.git

reentr.h affects more C files than just reentr.c

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

diff --git a/locale.c b/locale.c
index 02d546d..5626688 100644
--- a/locale.c
+++ b/locale.c
@@ -29,6 +29,8 @@
 #   include <langinfo.h>
 #endif
 
+#include "reentr.h"
+
 /*
  * Standardize the locale name from a string returned by 'setlocale'.
  *
diff --git a/pp.c b/pp.c
index 9af36f0..7ff5138 100644
--- a/pp.c
+++ b/pp.c
@@ -17,6 +17,8 @@
 #include "perl.h"
 #include "keywords.h"
 
+#include "reentr.h"
+
 /* variations on pp_null */
 
 /* XXX I can't imagine anyone who doesn't have this actually _needs_
diff --git a/pp_sys.c b/pp_sys.c
index a7e89a7..5ff5c92 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -173,6 +173,8 @@ static char zero_but_true[ZBTLEN + 1] = "0 but true";
 #  define FD_CLOEXEC 1		/* NeXT needs this */
 #endif
 
+#include "reentr.h"
+
 #undef PERL_EFF_ACCESS_R_OK	/* EFFective uid/gid ACCESS R_OK */
 #undef PERL_EFF_ACCESS_W_OK
 #undef PERL_EFF_ACCESS_X_OK