fix compile problem if ulockmgr isn't available

git-svn-id: http://encfs.googlecode.com/svn/trunk@10 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
Valient Gough 2008-01-27 19:32:31 +00:00
parent 8c2546510a
commit 1953986995

View File

@ -756,6 +756,7 @@ int encfs_removexattr( const char *path, const char *name )
} }
#endif // HAVE_XATTR #endif // HAVE_XATTR
#ifdef HAVE_ULOCKMGR_H
int _do_lock(FileNode *fnode, int _do_lock(FileNode *fnode,
tuple<int, struct flock *, struct fuse_file_info *> data) tuple<int, struct flock *, struct fuse_file_info *> 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, int encfs_lock( const char *path, struct fuse_file_info *fi, int cmd,
struct flock *lock) struct flock *lock)
{ {