summaryrefslogtreecommitdiff
path: root/lib/libc/statvfs/fstatvfs.c
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 21:17:12 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 21:17:12 +0100
commitb5cd18739a64c8d923a55b61c89ae3900faafd84 (patch)
treed192f7b25257ae9a8a4760c68f5314dcbc0d9b91 /lib/libc/statvfs/fstatvfs.c
parent119aed5bc787ccbf23d2f151759ec1f3a80977e1 (diff)
Fix include paths and formatting inconsistencies
Diffstat (limited to 'lib/libc/statvfs/fstatvfs.c')
-rw-r--r--lib/libc/statvfs/fstatvfs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/statvfs/fstatvfs.c b/lib/libc/statvfs/fstatvfs.c
index 048db737..d48a92f0 100644
--- a/lib/libc/statvfs/fstatvfs.c
+++ b/lib/libc/statvfs/fstatvfs.c
@@ -1,6 +1,8 @@
-#include <__statvfs.h>
-#include <syscall.h>
-#include <asm-generic/statfs.h>
+#include "asm/unistd_64.h" // for __NR_fstatfs
+
+#include <__statvfs.h> // for __statvfs
+#include <asm-generic/statfs.h> // for statfs
+#include <syscall.h> // for __syscall_2, syscall
int fstatvfs(int fildes, struct __statvfs *buf)
{