aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/generic/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic/chmod.c')
-rw-r--r--sysdeps/unix/sysv/linux/generic/chmod.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/chmod.c b/sysdeps/unix/sysv/linux/generic/chmod.c
index b9631a9103..802e4006ee 100644
--- a/sysdeps/unix/sysv/linux/generic/chmod.c
+++ b/sysdeps/unix/sysv/linux/generic/chmod.c
@@ -16,11 +16,9 @@
License along with the GNU C Library. If not, see
<https://www.gnu.org/licenses/>. */
-#include <errno.h>
-#include <stddef.h>
#include <fcntl.h>
-#include <sys/stat.h>
#include <sys/types.h>
+#include <sysdep.h>
/* Change the protections of FILE to MODE. */
int