diff options
Diffstat (limited to 'lib/libc/stat')
| -rw-r--r-- | lib/libc/stat/chmod.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/fchmod.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/fchmodat.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/fstatat.c | 1 | ||||
| -rw-r--r-- | lib/libc/stat/futimens.c | 2 | ||||
| -rw-r--r-- | lib/libc/stat/mkdirat.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/mknod.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/mknodat.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/umask.c | 3 | ||||
| -rw-r--r-- | lib/libc/stat/utimensat.c | 3 |
10 files changed, 18 insertions, 9 deletions
diff --git a/lib/libc/stat/chmod.c b/lib/libc/stat/chmod.c index f204df83..005869ba 100644 --- a/lib/libc/stat/chmod.c +++ b/lib/libc/stat/chmod.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_chmod + + #include <sys/stat.h> // for chmod #include <sys/types.h> // for mode_t diff --git a/lib/libc/stat/fchmod.c b/lib/libc/stat/fchmod.c index c7b0b0f3..89ad637a 100644 --- a/lib/libc/stat/fchmod.c +++ b/lib/libc/stat/fchmod.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_fchmod + + #include <sys/stat.h> // for fchmod #include <sys/types.h> // for mode_t diff --git a/lib/libc/stat/fchmodat.c b/lib/libc/stat/fchmodat.c index 30c8230c..7bf834b1 100644 --- a/lib/libc/stat/fchmodat.c +++ b/lib/libc/stat/fchmodat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_fchmodat2 + + #include <sys/stat.h> // for fchmodat #include <sys/types.h> // for mode_t diff --git a/lib/libc/stat/fstatat.c b/lib/libc/stat/fstatat.c index c36ba3e3..08519fe3 100644 --- a/lib/libc/stat/fstatat.c +++ b/lib/libc/stat/fstatat.c @@ -3,7 +3,6 @@ #define __BITS_STAT_H_ -#include "asm/unistd_64.h" // for __NR_statx #include <bits/stat.h> // for stat #include <syscall.h> // for __syscall_5, syscall diff --git a/lib/libc/stat/futimens.c b/lib/libc/stat/futimens.c index f3bb425d..c44f8823 100644 --- a/lib/libc/stat/futimens.c +++ b/lib/libc/stat/futimens.c @@ -1,3 +1,5 @@ +#include <time.h> // for timespec + #define __BITS_STAT_H_ #include <bits/stat.h> // for timespec #include <sys/stat.h> // for utimensat, futimens diff --git a/lib/libc/stat/mkdirat.c b/lib/libc/stat/mkdirat.c index 49a4cecf..dc075bb2 100644 --- a/lib/libc/stat/mkdirat.c +++ b/lib/libc/stat/mkdirat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mkdirat + + #include <sys/stat.h> // for mkdirat #include <sys/types.h> // for mode_t diff --git a/lib/libc/stat/mknod.c b/lib/libc/stat/mknod.c index b8efed01..e76e232b 100644 --- a/lib/libc/stat/mknod.c +++ b/lib/libc/stat/mknod.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mknodat + + #include <fcntl.h> // for AT_FDCWD #include <sys/stat.h> // for mknod diff --git a/lib/libc/stat/mknodat.c b/lib/libc/stat/mknodat.c index 5ac50f5c..d19253e6 100644 --- a/lib/libc/stat/mknodat.c +++ b/lib/libc/stat/mknodat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_mknodat + + #include <sys/stat.h> // for mknodat #include <sys/types.h> // for dev_t, mode_t diff --git a/lib/libc/stat/umask.c b/lib/libc/stat/umask.c index f9026df8..e33ec9f4 100644 --- a/lib/libc/stat/umask.c +++ b/lib/libc/stat/umask.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_umask + + #include <sys/stat.h> // for umask #include <sys/types.h> // for mode_t diff --git a/lib/libc/stat/utimensat.c b/lib/libc/stat/utimensat.c index 5193a819..984c1921 100644 --- a/lib/libc/stat/utimensat.c +++ b/lib/libc/stat/utimensat.c @@ -1,4 +1,5 @@ -#include "asm/unistd_64.h" // for __NR_utimensat + + #include <syscall.h> // for __syscall_4, syscall #include <time.h> // for timespec |
