# HG changeset patch # User Bruno Haible # Date 1154183933 0 # Node ID 75561a6a4a30f4fab0d9b340bd58ddb35093c2d2 # Parent eb23418a908e27fcd1fba47aa1b546515eceab45 setenv.c comes from gettext / libiconv again. diff --git a/config/ChangeLog b/config/ChangeLog --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2006-07-29 Bruno Haible + + * srclist.txt (*setenv.[ch]): Remove rules. + 2006-07-22 Bruno Haible * srclist.txt: Resync printf-args.c, vasnprintf.c, localcharset.c, diff --git a/config/srclist.txt b/config/srclist.txt --- a/config/srclist.txt +++ b/config/srclist.txt @@ -1,4 +1,4 @@ -# $Id: srclist.txt,v 1.130 2006-07-22 17:03:06 haible Exp $ +# $Id: srclist.txt,v 1.131 2006-07-29 14:38:53 haible Exp $ # Files for which we are not the source. See ./srclistvars.sh for the # variable definitions. @@ -284,10 +284,6 @@ #$LIBCSRC/sysdeps/unix/sysv/gethostname.c lib gpl #$LIBCSRC/sysdeps/unix/utime.c lib gpl -$COREUTILS/lib/setenv.c lib gpl -$COREUTILS/lib/setenv.h lib gpl -$COREUTILS/lib/unsetenv.c lib gpl - $LIBTOOL/libltdl/argz.c lib gpl $LIBTOOL/libltdl/argz_.h lib gpl $LIBTOOL/libltdl/m4/argz.m4 m4 diff --git a/lib/ChangeLog b/lib/ChangeLog --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-07-29 Bruno Haible + + * setenv.c: Undo unintended modification done on 2006-02-27. + 2006-07-28 Eric Blake * regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89 diff --git a/lib/setenv.c b/lib/setenv.c --- a/lib/setenv.c +++ b/lib/setenv.c @@ -27,7 +27,9 @@ #include #include -#include +#if _LIBC || HAVE_UNISTD_H +# include +#endif #if !_LIBC # include "allocsa.h"