aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--sshfs.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 8109161..dc4befc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,4 +7,4 @@ compat_sources = compat/fuse_opt.c compat/fuse_opt.h
endif
sshfs_SOURCES = sshfs.c cache.c cache.h $(compat_sources)
-sshfs_CPPFLAGS = -DFUSE_USE_VERSION=27
+sshfs_CPPFLAGS = -DFUSE_USE_VERSION=26
diff --git a/sshfs.c b/sshfs.c
index bf3e29d..7da799b 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -1006,13 +1006,13 @@ static int start_processing_thread(void)
}
#ifdef SSHFS_USE_INIT
-#if FUSE_VERSION >= 27
+#if FUSE_VERSION >= 26
static void *sshfs_init(struct fuse_conn_info *conn)
#else
static void *sshfs_init(void)
#endif
{
-#if FUSE_VERSION >= 27
+#if FUSE_VERSION >= 26
/* Readahead should be done by kernel or sshfs but not both */
if (conn->async_read)
sshfs.sync_read = 1;