From: Eric Blake Date: Mon, 21 Dec 2009 18:32:58 +0000 (-0700) Subject: unistd: avoid redundant includes X-Git-Tag: submit/tizen_base/20221129.015542^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39bc92b596d4a644d7a43b4cfa4f11ea472edb14;p=product%2Fupstream%2Fcoreutils.git unistd: avoid redundant includes * 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 --- 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.