From 35428fb6b2d269dbfa2eec7d0739aec149bd4cc2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 22 Oct 2011 16:24:32 +0200 Subject: Update Gnulib to v0.0-6523-gb3609c1. --- lib/putenv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/putenv.c') diff --git a/lib/putenv.c b/lib/putenv.c index 0e6e65f5c..ec5fe1a3c 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -34,10 +34,12 @@ #include #include -#if HAVE_GNU_LD +#if _LIBC +# if HAVE_GNU_LD # define environ __environ -#else +# else extern char **environ; +# endif #endif #if _LIBC -- cgit v1.2.3