diff options
Diffstat (limited to 'lib/libc/fcntl/openat.c')
| -rw-r--r-- | lib/libc/fcntl/openat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/fcntl/openat.c b/lib/libc/fcntl/openat.c index bb34d600..d3475f6b 100644 --- a/lib/libc/fcntl/openat.c +++ b/lib/libc/fcntl/openat.c @@ -1,6 +1,9 @@ -#include <fcntl.h> -#include <stdarg.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_openat + +#include <fcntl.h> // for O_CREAT, openat +#include <stdarg.h> // for va_arg, va_end, va_list, va_start +#include <sys/types.h> // for mode_t +#include <syscall.h> // for __syscall_4, syscall int openat(int fd, const char *path, int oflag, ...) { |
