--- a/src/client/fuse_ll.cc +++ b/src/client/fuse_ll.cc @@ -25,6 +25,7 @@ #include #if defined(__linux__) +#include #include #include #include @@ -178,7 +179,7 @@ struct fuse_args args; }; -#if defined(__linux__) +#if defined(__linux__) && defined(__GLIBC__) static int already_fuse_mounted(const char *path, bool &already_mounted) { struct statx path_statx; @@ -248,7 +249,7 @@ return err; } -#else // non-linux platforms +#else // non-linux platforms and musl static int already_fuse_mounted(const char *path, bool &already_mounted) { already_mounted = false;