From e912afeea6c7e3c8a544b93b71c67c63c6d98e19 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 9 Jul 2016 17:31:29 -0500 Subject: [PATCH] Define FUSE_USE_VERSION --- src/plugin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugin.c b/src/plugin.c index 3c861ed..7400c8c 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -19,6 +19,10 @@ */ #include "config.h" +/* Although fuse.h is only needed for 'struct fuse_file_info', we still need to + * request a specific FUSE API version. (It's required on FreeBSD, and it's + * probably a good idea to request the same version used by NTFS-3G anyway.) */ +#define FUSE_USE_VERSION 26 #include #ifdef HAVE_ERRNO_H