about summary refs log tree commit diff
path: root/io/lchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/lchmod.c')
-rw-r--r--io/lchmod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/io/lchmod.c b/io/lchmod.c
index 8b788034ee..3a0f714576 100644
--- a/io/lchmod.c
+++ b/io/lchmod.c
@@ -16,10 +16,8 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#include <errno.h>
 #include <fcntl.h>
-#include <sys/types.h>
-#include <unistd.h>
+#include <sys/stat.h>
 
 /* Change the protections of FILE to MODE.  */
 int