From 315895053cfe0f79c4e093058ae994fdf40d69c8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 Feb 2006 06:37:59 +0000 Subject: [PATCH] undo last change -- this file is sync'd from gettext --- lib/mkdtemp.c | 2 +- lib/setenv.c | 8 +++----- lib/unsetenv.c | 8 +++----- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/lib/mkdtemp.c b/lib/mkdtemp.c index 84217d6952..469cf47186 100644 --- 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 index 098fb373db..8088200910 100644 --- 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 index 33bdd0bbfa..d96389656e 100644 --- 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 @@ extern int errno; #include #include -#if _LIBC || HAVE_UNISTD_H -# include -#endif +#include #if !_LIBC # define __environ environ -- 2.30.2