diff options
Diffstat (limited to 'lib/libc/fcntl/creat.c')
| -rw-r--r-- | lib/libc/fcntl/creat.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/fcntl/creat.c b/lib/libc/fcntl/creat.c index fdcb6655..43110794 100644 --- a/lib/libc/fcntl/creat.c +++ b/lib/libc/fcntl/creat.c @@ -1,5 +1,8 @@ -#include <fcntl.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_creat + +#include <fcntl.h> // for creat +#include <sys/types.h> // for mode_t +#include <syscall.h> // for __syscall_2, syscall int creat(const char *path, mode_t mode) { |
