From 059ccb6ac7ed566f2ef2b8475c499a618d2708a8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 1 Jul 1997 11:30:08 +0000 Subject: [putenv]: Undefine before including system headers. Otherwise, the declaration of *rpl_putenv* conflicts with the system prototype on at least Irix5.3. From Marcus Daniels. --- lib/putenv.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/putenv.c') diff --git a/lib/putenv.c b/lib/putenv.c index 087b8f491..44b89fdf3 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -23,6 +23,11 @@ # include #endif +/* Disable the definition of putenv to rpl_putenv (from config.h) in this + file. Otherwise, we'd get conflicting prototypes for rpl_putenv on + systems like Irix 5.3. */ +#undef putenv + #if defined (__GNU_LIBRARY__) || defined (HAVE_STDLIB_H) # include #endif -- cgit v1.2.3-54-g00ecf