summaryrefslogtreecommitdiff
path: root/lib/putenv.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
commit410f98fc2b9bd775f809818590959272c04e6c9c (patch)
treefeb6e26fa2cd60d76f8bcab1483f27bc792f2c29 /lib/putenv.c
parentb5dabfee20afd9a18d32c569b69ce9024e0a6268 (diff)
downloadcoreutils-410f98fc2b9bd775f809818590959272c04e6c9c.tar.xz
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
Diffstat (limited to 'lib/putenv.c')
-rw-r--r--lib/putenv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/putenv.c b/lib/putenv.c
index 69fb90be6..0a23694fa 100644
--- a/lib/putenv.c
+++ b/lib/putenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C
Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@ -39,9 +39,7 @@ void free ();
#include <string.h>
-#if defined (__GNU_LIBRARY__) || defined (HAVE_UNISTD_H)
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if HAVE_GNU_LD
# define environ __environ