diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mfs_cleanup_db.c | 1 | ||||
-rw-r--r-- | src/mfs_subr.c | 13 | ||||
-rwxr-xr-x | src/mfs_vnops.c | 17 | ||||
-rwxr-xr-x | src/musicfs.c | 4 |
4 files changed, 18 insertions, 17 deletions
diff --git a/src/mfs_cleanup_db.c b/src/mfs_cleanup_db.c index c4cf258..2149f8e 100644 --- a/src/mfs_cleanup_db.c +++ b/src/mfs_cleanup_db.c @@ -20,6 +20,7 @@ * A copy of the license can typically be found in COPYING */ +#include <fusever.h> #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/mfs_subr.c b/src/mfs_subr.c index d92e85a..3749d1c 100644 --- a/src/mfs_subr.c +++ b/src/mfs_subr.c @@ -20,21 +20,20 @@ * A copy of the license can typically be found in COPYING */ -/* Miscellaneous subroutines for musicfs. */ -#define FUSE_USE_VERSION 26 +#include <sys/types.h> +#include <sys/param.h> +#include <dirent.h> +#include <pthread.h> + #include <stdio.h> #include <errno.h> #include <string.h> #include <stdlib.h> #include <err.h> -#include <sys/types.h> -#include <sys/param.h> -#include <dirent.h> +#include <fusever.h> #include <fuse.h> -#include <pthread.h> #include <tag_c.h> - #include <debug.h> #include <musicfs.h> #include <sqlite3.h> diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c index 306b8fa..fc029e4 100755 --- a/src/mfs_vnops.c +++ b/src/mfs_vnops.c @@ -20,28 +20,29 @@ * A copy of the license can typically be found in COPYING */ -#define FUSE_USE_VERSION 26 -#include <stdio.h> -#include <stdlib.h> -#include <errno.h> -#include <string.h> -#include <err.h> - #include <sys/types.h> #include <sys/time.h> #include <dirent.h> -#include <fuse.h> #include <sys/param.h> #include <sys/uio.h> #include <unistd.h> #include <pthread.h> +#include <stdio.h> +#include <stdlib.h> +#include <errno.h> +#include <string.h> +#include <err.h> + +#include <fusever.h> +#include <fuse.h> #include <tag_c.h> #include <musicfs.h> #include <debug.h> static int mfs_getattr (const char *path, struct stat *stbuf) { + char *realpath; int res; diff --git a/src/musicfs.c b/src/musicfs.c index faa740f..86b90b9 100755 --- a/src/musicfs.c +++ b/src/musicfs.c @@ -20,10 +20,10 @@ * A copy of the license can typically be found in COPYING */ -#define FUSE_USE_VERSION 26 - #include <stdlib.h> #include <stdio.h> + +#include <fusever.h> #include <fuse.h> #include <fuse_opt.h> #include <musicfs.h> |