X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsetenv.c;h=23832485a9f27a0adb3d1e207ad2da873d523c56;hb=b566a1cae5310716bad3151cee69f943915b2d31;hp=808820091050afa8d309ef0395e11f3f51c10b44;hpb=315895053cfe0f79c4e093058ae994fdf40d69c8;p=gnulib.git diff --git a/lib/setenv.c b/lib/setenv.c index 808820091..23832485a 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2003,2005 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2003,2005,2006 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 @@ -13,9 +13,9 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if HAVE_CONFIG_H +#if !_LIBC # include #endif #include @@ -27,7 +27,9 @@ #include #include -#include +#if _LIBC || HAVE_UNISTD_H +# include +#endif #if !_LIBC # include "allocsa.h"