$NetBSD: patch-ac $ adjust to our fuse headers --- mtpfs.h.orig 2016-06-18 10:28:40.000000000 +0000 +++ mtpfs.h 2016-06-18 10:06:11.000000000 +0000 @@ -17,7 +17,9 @@ #include #include #include -#include +#include +//#include +#include #include #include @@ -48,7 +50,7 @@ static int find_storage (const gchar * path); /* fuse functions */ -static void *mtpfs_init (void); +static void *mtpfs_init (struct fuse_conn_info *); static int mtpfs_blank (); static int mtpfs_release (const char *path, struct fuse_file_info *fi); void mtpfs_destroy (); @@ -65,7 +67,7 @@ static int mtpfs_unlink (const gchar * path); static int mtpfs_mkdir (const char *path, mode_t mode); static int mtpfs_rmdir (const char *path); -static int mtpfs_statfs (const char *path, struct statfs *stbuf); +static int mtpfs_statfs (const char *path, struct statvfs *stbuf); int calc_length (int f); static LIBMTP_mtpdevice_t *device;