From f1b6432e1226be1563d5e631ccfa044b74a30b5b Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Thu, 10 Apr 2025 22:53:40 +0300 Subject: FUSE_FILL_DIR_DEFAULTS is not defined with older Fuse headers. --- src/bindfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bindfs.c b/src/bindfs.c index ed68c53..08defc6 100644 --- a/src/bindfs.c +++ b/src/bindfs.c @@ -837,7 +837,7 @@ static int bindfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler, (void)fi; #ifdef HAVE_FUSE_3 bool readdirplus = (flags & FUSE_READDIR_PLUS) == FUSE_READDIR_PLUS; - enum fuse_fill_dir_flags fill_dir_flags = readdirplus ? FUSE_FILL_DIR_PLUS : FUSE_FILL_DIR_DEFAULTS; + enum fuse_fill_dir_flags fill_dir_flags = readdirplus ? FUSE_FILL_DIR_PLUS : 0; #else bool readdirplus = false; #endif -- cgit v1.2.3