From 1953986995786f3a2ce3e21a355351aa97a7fdba Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Sun, 27 Jan 2008 19:32:31 +0000 Subject: [PATCH] fix compile problem if ulockmgr isn't available git-svn-id: http://encfs.googlecode.com/svn/trunk@10 db9cf616-1c43-0410-9cb8-a902689de0d6 --- encfs/encfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encfs/encfs.cpp b/encfs/encfs.cpp index d0e8622..48f1b95 100644 --- a/encfs/encfs.cpp +++ b/encfs/encfs.cpp @@ -756,6 +756,7 @@ int encfs_removexattr( const char *path, const char *name ) } #endif // HAVE_XATTR +#ifdef HAVE_ULOCKMGR_H int _do_lock(FileNode *fnode, tuple data) { @@ -775,7 +776,6 @@ int _do_lock(FileNode *fnode, } } -#ifdef HAVE_ULOCKMGR_H int encfs_lock( const char *path, struct fuse_file_info *fi, int cmd, struct flock *lock) {