From: Paul Eggert Date: Sun, 25 Dec 2005 21:40:01 +0000 (+0000) Subject: chdir-safer.c still needs unistd.h X-Git-Tag: v6.0~1031 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cffc5f20eaa577093997c999268c8b6cef751b5;p=thirdparty%2Fcoreutils.git chdir-safer.c still needs unistd.h --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 83d6f1fd1f..5770a0cc1e 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -3,7 +3,7 @@ * chdir-safer.h (FCHMOD_SAFER_H): Remove: it was misnamed, and wasn't needed anyay. * chdir-safer.c (chdir_no_follow): Don't include stdio.h, assert.h, - unistd.h, fcntl--.h; not needed. + fcntl--.h; not needed. (O_DIRECTORY): Define if not already defined. (chdir_no_follow): Revamp describing comment to match code more closely. Redo use of internal vars to avoid lint complaints.