From: Bruno Haible Date: Tue, 21 Jun 2022 21:19:07 +0000 (+0200) Subject: lchmod: Simplify. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=8ae038bc6cd53d7a2ba9c1c7539f3a965f95b05f;p=gnulib.git lchmod: Simplify. * lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23. --- diff --git a/ChangeLog b/ChangeLog index 5309c33a3a..753e8df695 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-06-21 Bruno Haible + + lchmod: Simplify. + * lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23. + 2022-06-19 Paul Eggert lchmod: port back to AIX 7.2 diff --git a/lib/lchmod.c b/lib/lchmod.c index 424480d232..271b631525 100644 --- a/lib/lchmod.c +++ b/lib/lchmod.c @@ -28,15 +28,6 @@ #include #include -#ifdef __osf__ -/* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc - eliminates this include because of the preliminary #include - above. */ -# include "sys/stat.h" -#else -# include -#endif - #include /* Work like chmod, except when FILE is a symbolic link.