aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-08-13 21:17:11 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-08-13 21:17:11 +0000
commit28495b3bb29df1ae87967f208d008182a794f37e (patch)
treeb8e00b5e77fbc9c68b8e0ff18e37809df9997e75 /cache.h
parent61a154807b607b4b5f70b973004b4b1dd4e286c6 (diff)
downloadsshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar.gz
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar.bz2
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.zip
reconnection
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 0f9d4f4..b0b93b1 100644
--- a/cache.h
+++ b/cache.h
@@ -8,6 +8,10 @@
#include <fuse.h>
+#ifndef FUSE_VERSION
+#define FUSE_VERSION (FUSE_MAJOR_VERSION * 10 + FUSE_MINOR_VERSION)
+#endif
+
typedef struct fuse_cache_dirhandle *fuse_cache_dirh_t;
typedef int (*fuse_cache_dirfil_t) (fuse_cache_dirh_t h, const char *name,
const struct stat *stbuf);