1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00

Merge pull request #3976 from intelfx/xattr-fix-include-path

xattr: use sys/xattr.h as per setxattr(2)
This commit is contained in:
TW 2018-07-10 14:28:24 +02:00 committed by GitHub
commit 77f8a82d3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ from libc.stdint cimport int64_t
API_VERSION = '1.2_02' API_VERSION = '1.2_02'
cdef extern from "attr/xattr.h": cdef extern from "sys/xattr.h":
ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size) ssize_t c_listxattr "listxattr" (const char *path, char *list, size_t size)
ssize_t c_llistxattr "llistxattr" (const char *path, char *list, size_t size) ssize_t c_llistxattr "llistxattr" (const char *path, char *list, size_t size)
ssize_t c_flistxattr "flistxattr" (int filedes, char *list, size_t size) ssize_t c_flistxattr "flistxattr" (int filedes, char *list, size_t size)