From 85801bbad1b3f1160bd35608f30048faa8d94995 Mon Sep 17 00:00:00 2001 From: Mark Glines Date: Sun, 17 Mar 2002 06:58:33 +0000 Subject: 'struct statfs' changes size, and entries within it change position, depending on which headerfiles are included and which macros are defined. Because its unreliable, we now use struct fuse_statfs everywhere except in the kernel. Also fixed some perl fuse_main semantics - it now works much better when multithreading is disabled. --- include/fuse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 46fc87b..451e163 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -13,9 +13,9 @@ #include #include -#include #include +#include "fusestat.h" /* ----------------------------------------------------------- * * Basic FUSE API * * ----------------------------------------------------------- */ @@ -82,7 +82,7 @@ struct fuse_operations { int (*open) (const char *, int); int (*read) (const char *, char *, size_t, off_t); int (*write) (const char *, const char *, size_t, off_t); - int (*statfs) (struct statfs *); + int (*statfs) (struct fuse_statfs *); }; /** Extra context that may be needed by some filesystems */ -- cgit v1.2.3