summaryrefslogtreecommitdiff
path: root/include/sys/statfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/statfs.h')
-rw-r--r--include/sys/statfs.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/sys/statfs.h b/include/sys/statfs.h
index 7eaa7e7c..51ef30a1 100644
--- a/include/sys/statfs.h
+++ b/include/sys/statfs.h
@@ -3,8 +3,13 @@
#include <sys/statvfs.h>
-#define statfs statvfs
-#define fstatfs fstatvfs
-#define f_namelen f_namemax
+typedef struct {
+ int val[2];
+} fsid_t;
+
+#include <bits/statfs.h>
+
+int statfs (const char *, struct statfs *);
+int fstatfs (int, struct statfs *);
#endif