From 39bc92b596d4a644d7a43b4cfa4f11ea472edb14 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 21 Dec 2009 11:32:58 -0700 Subject: [PATCH] unistd: avoid redundant includes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lib/unistd_.h (getcwd): No need to re-include . Change-Id: Id3256ea5506dea9e7ee820582de9bdfedd32b967 Signed-off-by: Eric Blake Origin: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=adbded99ab66dd4da5daa65db02fe890ab3e9729 Signed-off-by: Łukasz Stelmach --- lib/ChangeLog | 5 +++++ lib/unistd_.h | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index e1b4c7a..9dbc8d1 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2009-12-22 Eric Blake + + math, unistd: avoid redundant includes + * lib/unistd_.h (getcwd): Likewise, for . + 2007-03-20 Jim Meyering Fix a typo in the handling of %x and %X. diff --git a/lib/unistd_.h b/lib/unistd_.h index 77df861..9c6d80b 100644 --- a/lib/unistd_.h +++ b/lib/unistd_.h @@ -116,9 +116,6 @@ extern int ftruncate (int fd, off_t length); #if @GNULIB_GETCWD@ -/* Include the headers that might declare getcwd so that they will not - cause confusion if included after this file. */ -# include # if @REPLACE_GETCWD@ /* Get the name of the current working directory, and put it in SIZE bytes of BUF. -- 2.34.1