summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/renameat.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/renameat.c')
-rw-r--r--lib/libc/stdio/renameat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/renameat.c b/lib/libc/stdio/renameat.c
index 93d435fa..fde966c4 100644
--- a/lib/libc/stdio/renameat.c
+++ b/lib/libc/stdio/renameat.c
@@ -1,4 +1,6 @@
-#include <syscall.h>
+#include "asm/unistd_64.h" // for __NR_renameat
+
+#include <syscall.h> // for __syscall_4, syscall
int renameat(int oldfd, const char *old, int newfd, const char *new)
{