diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-09-26 18:26:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-09-26 18:26:35 +0000 |
commit | 7d7c6fb4c7f89779d2c1e4c04d81b98016855be0 (patch) | |
tree | 761a2e07bb0a28fa8e97fa2e066a4aa16993d3a7 /sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h | |
parent | - Update to 1.5.2.1 (diff) |
- Fix build on CURRENT
Submitted by: rnoland@
Approved by: Anish Mistry <amistry@am-productions.biz>
Notes
Notes:
svn path=/head/; revision=220853
Diffstat (limited to 'sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h')
-rw-r--r-- | sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h b/sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h new file mode 100644 index 000000000000..4a95133cddc0 --- /dev/null +++ b/sysutils/fusefs-kmod/files/patch-fuse_module__fuse.h @@ -0,0 +1,17 @@ +--- fuse_module/fuse.h.orig 2008-09-26 12:40:20.000000000 -0400 ++++ fuse_module/fuse.h 2008-09-26 12:41:54.000000000 -0400 +@@ -49,6 +49,14 @@ + #endif + #endif + ++#ifndef VOP_GETATTR_TAKES_THREAD ++#if __FreeBSD_version >= 800046 ++#define VOP_GETATTR_TAKES_THREAD 0 ++#else ++#define VOP_GETATTR_TAKES_THREAD 1 ++#endif ++#endif ++ + #ifndef USE_PRIVILEGE_API + /* + * __FreeBSD_version bump was omitted for introduction of |