diff --git a/cache.c b/cache.c index 4a7e3a9..c1e1d9a 100644 --- a/cache.c +++ b/cache.c @@ -330,7 +330,7 @@ static int cache_truncate(const char *path, off_t size, struct fuse_file_info *f return err; } -static int cache_utimens(const char *path, struct utimbuf *buf, struct fuse_file_info* fi) +static int cache_utimens(const char *path, const struct timespec *buf, struct fuse_file_info* fi) { int err = cache.next_oper->oper.utimens(path, buf, fi); if (!err) diff --git a/ftpfs.c b/ftpfs.c index 2ac2d3b..03dc93b 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include "charset_utils.h" @@ -1021,7 +1020,7 @@ static int ftpfs_truncate(const char* path, off_t offset, struct fuse_file_info* return op_return(-EPERM, "ftpfs_truncate"); } -static int ftpfs_utimens(const char* path, struct utimbuf* time, struct fuse_file_info* fi) { +static int ftpfs_utimens(const char* path, const struct timespec* time, struct fuse_file_info* fi) { (void) path; (void) time; (void) fi;