From 09e967c2d732783b2579e4e120cd9b608404cb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Wed, 4 Jun 2003 18:31:57 +0000 Subject: Merge from R9_0-AMD64, most notably: - AMD64 support to insmod-busybox, minilibc, et al. - Sync with insmod-modutils 2.4.19 something but everyone should use dietlibc nowadays - Factor out compilation and prefix with $(DIET) for dietlibc builds - 64-bit & varargs fixes --- mdk-stage1/dietlibc/include/sys/vfs.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'mdk-stage1/dietlibc/include/sys/vfs.h') diff --git a/mdk-stage1/dietlibc/include/sys/vfs.h b/mdk-stage1/dietlibc/include/sys/vfs.h index e4740a225..19b3242bb 100644 --- a/mdk-stage1/dietlibc/include/sys/vfs.h +++ b/mdk-stage1/dietlibc/include/sys/vfs.h @@ -3,7 +3,31 @@ #include #include -#include + +typedef struct { + int __val[2]; +} __kernel_fsid_t; + +struct statfs { + long f_type; + long f_bsize; +#ifdef __mips__ + long f_frsize; +#endif + long f_blocks; + long f_bfree; +#ifndef __mips__ + long f_bavail; +#endif + long f_files; + long f_ffree; +#ifdef __mips__ + long f_bavail; +#endif + __kernel_fsid_t f_fsid; + long f_namelen; + long f_spare[6]; +}; int statfs(const char *path, struct statfs *buf) __THROW; int fstatfs(int fd, struct statfs *buf) __THROW; -- cgit v1.2.1