# HG changeset patch # User Jim Meyering # Date 1141022279 0 # Node ID 54c2c5912cdc8b77de3ccba14c571494c2fe5a12 # Parent 7cb4b011e766da827e092132eab2c24e223d5c3c undo last change -- this file is sync'd from gettext diff --git a/lib/mkdtemp.c b/lib/mkdtemp.c --- a/lib/mkdtemp.c +++ b/lib/mkdtemp.c @@ -18,7 +18,7 @@ /* Extracted from misc/mkdtemp.c and sysdeps/posix/tempname.c. */ #ifdef HAVE_CONFIG_H -# include +# include "config.h" #endif /* Specification. */ diff --git a/lib/setenv.c b/lib/setenv.c --- a/lib/setenv.c +++ b/lib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2003 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2003,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -15,7 +15,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include #endif #include @@ -27,9 +27,7 @@ #include #include -#if _LIBC || HAVE_UNISTD_H -# include -#endif +#include #if !_LIBC # include "allocsa.h" diff --git a/lib/unsetenv.c b/lib/unsetenv.c --- a/lib/unsetenv.c +++ b/lib/unsetenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2002 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2002,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -15,7 +15,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H +#if HAVE_CONFIG_H # include #endif @@ -29,9 +29,7 @@ #include #include -#if _LIBC || HAVE_UNISTD_H -# include -#endif +#include #if !_LIBC # define __environ environ