From f1f738d5b8f40021be8f5b21376c417360bb9cde Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 23 Jan 2006 17:03:25 +0000 Subject: fix --- Makefile.am | 2 +- sshfs.c | 4 ++-- 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; -- cgit v1.2.3