diff options
Diffstat (limited to 'lib/libc/stat/fstatat.c')
| -rw-r--r-- | lib/libc/stat/fstatat.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/stat/fstatat.c b/lib/libc/stat/fstatat.c index d7aecbc5..c36ba3e3 100644 --- a/lib/libc/stat/fstatat.c +++ b/lib/libc/stat/fstatat.c @@ -1,8 +1,12 @@ -#include <linux/stat.h> +#include <linux/stat.h> // for statx, statx_timestamp, STATX_BASIC_STATS +#include <time.h> // for timespec + #define __BITS_STAT_H_ -#include <bits/stat.h> -#undef __BITS_STAT_H_ -#include <syscall.h> + +#include "asm/unistd_64.h" // for __NR_statx + +#include <bits/stat.h> // for stat +#include <syscall.h> // for __syscall_5, syscall #define makedev(major, minor) \ ((((major) & 0xfffff000ULL) << 32) | \ |
