mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 07:53:31 +01:00
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:
parent
8c2546510a
commit
1953986995
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user