Forráskód Böngészése

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

xattr: use sys/xattr.h as per setxattr(2)
TW 7 éve
szülő
commit
77f8a82d3b
1 módosított fájl, 1 hozzáadás és 1 törlés
  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)