summaryrefslogtreecommitdiffstats
path: root/src/prelude.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-04-22 09:23:55 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-04-22 11:19:20 -0400
commit569e6758e26e23c27d94c0d132bf5e26ee5af862 (patch)
tree945d605388a524a196e96a351a8c59f7b51c6847 /src/prelude.h
parent75311e2f9aabd1e4775176e9adff5cd5f1fe42aa (diff)
downloadbfs-569e6758e26e23c27d94c0d132bf5e26ee5af862.tar.xz
config: Check for extattr_{get,list}_{file,link}()
This lets us implement -xattr on DragonFly BSD.
Diffstat (limited to 'src/prelude.h')
-rw-r--r--src/prelude.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prelude.h b/src/prelude.h
index 390666b..9e64260 100644
--- a/src/prelude.h
+++ b/src/prelude.h
@@ -106,7 +106,7 @@ extern const char bfs_version[];
# define BFS_USE_SYS_CAPABILITY_H (BFS_HAS_SYS_CAPABILITY_H && !__FreeBSD__ && (!__linux__ || BFS_USE_LIBCAP))
#endif
#ifndef BFS_USE_SYS_EXTATTR_H
-# define BFS_USE_SYS_EXTATTR_H (BFS_HAS_SYS_EXTATTR_H && !__DragonFly__)
+# define BFS_USE_SYS_EXTATTR_H BFS_HAS_SYS_EXTATTR_H
#endif
#ifndef BFS_USE_SYS_MKDEV_H
# define BFS_USE_SYS_MKDEV_H BFS_HAS_SYS_MKDEV_H