summaryrefslogtreecommitdiffstats
path: root/src/fsade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsade.c')
-rw-r--r--src/fsade.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fsade.c b/src/fsade.c
index 9e5374f..7a7201e 100644
--- a/src/fsade.c
+++ b/src/fsade.c
@@ -32,9 +32,9 @@
# include <sys/capability.h>
#endif
-#if BFS_HAS_SYS_EXTATTR
+#if BFS_USE_SYS_EXTATTR_H
# include <sys/extattr.h>
-#elif BFS_HAS_SYS_XATTR
+#elif BFS_USE_SYS_XATTR_H
# include <sys/xattr.h>
#endif
@@ -303,7 +303,7 @@ int bfs_check_xattrs(const struct BFTW *ftwbuf) {
const char *path = fake_at(ftwbuf);
ssize_t len;
-#if BFS_HAS_SYS_EXTATTR
+#if BFS_USE_SYS_EXTATTR_H
ssize_t (*extattr_list)(const char *, int, void*, size_t) =
ftwbuf->type == BFS_LNK ? extattr_list_link : extattr_list_file;
@@ -342,7 +342,7 @@ int bfs_check_xattr_named(const struct BFTW *ftwbuf, const char *name) {
const char *path = fake_at(ftwbuf);
ssize_t len;
-#if BFS_HAS_SYS_EXTATTR
+#if BFS_USE_SYS_EXTATTR_H
ssize_t (*extattr_get)(const char *, int, const char *, void*, size_t) =
ftwbuf->type == BFS_LNK ? extattr_get_link : extattr_get_file;