summaryrefslogtreecommitdiff
path: root/lib/libc/statvfs/statvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/statvfs/statvfs.c')
-rw-r--r--lib/libc/statvfs/statvfs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/statvfs/statvfs.c b/lib/libc/statvfs/statvfs.c
index 3a7c1f3e..93ab5afb 100644
--- a/lib/libc/statvfs/statvfs.c
+++ b/lib/libc/statvfs/statvfs.c
@@ -1,6 +1,8 @@
-#include <__statvfs.h>
-#include <syscall.h>
-#include <asm-generic/statfs.h>
+#include "asm/unistd_64.h" // for __NR_statfs
+
+#include <__statvfs.h> // for __statvfs
+#include <asm-generic/statfs.h> // for statfs
+#include <syscall.h> // for __syscall_2, syscall
int statvfs(const char *restrict path, struct __statvfs *restrict buf)
{