X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=passthrough.h;h=ebc9a1b2a349715f664b84701fda9c0d256aaf2c;hb=a93f22e050e3bc971f341ab4580d39266713133b;hp=81f8970b922799c46eda9eaeb2d1a718f198fccd;hpb=3f472567bdd9bc3fbfd99b342ee29b25d5b553be;p=rrq%2Ffuse_xattrs.git diff --git a/passthrough.h b/passthrough.h index 81f8970..ebc9a1b 100644 --- a/passthrough.h +++ b/passthrough.h @@ -9,7 +9,11 @@ See the file COPYING. */ -#include +#ifdef __APPLE__ + #include +#else + #include +#endif int xmp_getattr(const char *path, struct stat *stbuf); int xmp_access(const char *path, int mask); @@ -25,7 +29,7 @@ int xmp_link(const char *from, const char *to); int xmp_chmod(const char *path, mode_t mode); int xmp_chown(const char *path, uid_t uid, gid_t gid); int xmp_truncate(const char *path, off_t size); -int xmp_utimens(const char *path, const struct timespec ts[2], struct fuse_file_info *fi); +int xmp_utimens(const char *path, const struct timespec ts[2]); int xmp_open(const char *path, struct fuse_file_info *fi); int xmp_read(const char *path, char *buf, size_t size, off_t offset, struct fuse_file_info *fi); int xmp_write(const char *path, const char *buf, size_t size, off_t offset, struct fuse_file_info *fi);