X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Fuse.xs;h=fb3686fa752775e40bf1f8e2e7e4b70400f6b4eb;hb=dd3f85d01cf5759844a1f6c8cae44519bd7402df;hp=f86995da6cf4e9863eb4c32177898ad6f8c04293;hpb=176ffc0689c521e302965597be47d1bd701d9180;p=perl-fuse.git diff --git a/Fuse.xs b/Fuse.xs index f86995d..fb3686f 100755 --- a/Fuse.xs +++ b/Fuse.xs @@ -733,7 +733,11 @@ int _PLfuse_fsync (const char *file, int datasync, struct fuse_file_info *fi) { return rv; } +#if __FreeBSD__ >= 10 +int _PLfuse_setxattr (const char *file, const char *name, const char *buf, size_t buflen, int flags, uint32_t position) { +#else int _PLfuse_setxattr (const char *file, const char *name, const char *buf, size_t buflen, int flags) { +#endif int rv; FUSE_CONTEXT_PRE; DEBUGf("setxattr begin\n"); @@ -756,7 +760,11 @@ int _PLfuse_setxattr (const char *file, const char *name, const char *buf, size_ return rv; } +#if __FreeBSD__ >= 10 +int _PLfuse_getxattr (const char *file, const char *name, char *buf, size_t buflen, uint32_t position) { +#else int _PLfuse_getxattr (const char *file, const char *name, char *buf, size_t buflen) { +#endif int rv; FUSE_CONTEXT_PRE; DEBUGf("getxattr begin\n");