Browse Source

xattr: use sys/xattr.h as per setxattr(2), attr/xattr.h is absent on my system

Ivan Shapovalov 7 years ago
parent
commit
074a984111
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/platform/linux.pyx

+ 1 - 1
src/borg/platform/linux.pyx

@@ -15,7 +15,7 @@ from libc.stdint cimport int64_t
 
 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_llistxattr "llistxattr" (const char *path, char *list, size_t size)
     ssize_t c_flistxattr "flistxattr" (int filedes, char *list, size_t size)