summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-06-21 23:19:07 +0200
committerBruno Haible <bruno@clisp.org>2022-06-21 23:19:07 +0200
commite67a519439200086ba122678807b4831fbeb8ac7 (patch)
tree995cd1ccfcc66e4a0a19cd04cb6c6954ec18cf17 /lib
parent6542d39be48065193e9c64dcb6eb0d854a1242dc (diff)
downloadgnulib-e67a519439200086ba122678807b4831fbeb8ac7.tar.gz
lchmod: Simplify.
* lib/lchmod.c: Remove unnecessary include, obsolete since 2020-02-23.
Diffstat (limited to 'lib')
-rw-r--r--lib/lchmod.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/lchmod.c b/lib/lchmod.c
index 9802098421..8410a2d835 100644
--- a/lib/lchmod.c
+++ b/lib/lchmod.c
@@ -28,15 +28,6 @@
#include <string.h>
#include <unistd.h>
-#ifdef __osf__
-/* Write "sys/stat.h" here, not <sys/stat.h>, otherwise OSF/1 5.1 DTK cc
- eliminates this include because of the preliminary #include <sys/stat.h>
- above. */
-# include "sys/stat.h"
-#else
-# include <sys/stat.h>
-#endif
-
#include <intprops.h>
/* Work like chmod, except when FILE is a symbolic link.