diff options
Diffstat (limited to 'lib/libc/stdio/remove.c')
| -rw-r--r-- | lib/libc/stdio/remove.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/stdio/remove.c b/lib/libc/stdio/remove.c index 9aec52e9..25bbd3bd 100644 --- a/lib/libc/stdio/remove.c +++ b/lib/libc/stdio/remove.c @@ -1,6 +1,9 @@ -#include <stdio.h> -#include <fcntl.h> -#include <syscall.h> +#include "asm/unistd_64.h" // for __NR_unlinkat +#include "errno.h" // for EISDIR, errno + +#include <fcntl.h> // for AT_FDCWD, AT_REMOVEDIR +#include <stdio.h> // for remove +#include <syscall.h> // for __syscall_3, syscall int remove(const char *path) { |
