summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-01-03 16:42:07 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-01-03 16:43:15 -0500
commit976514edfb6063170049f561f5edbf330bbe4132 (patch)
tree70f90adb4414dc9a8fb5b9ae30f3047c77b5bcee
parent08867473e75e8e20ca76c7fb181204839e28b271 (diff)
downloadbfs-976514edfb6063170049f561f5edbf330bbe4132.tar.xz
config: Disable xattrs on DragonFly BSD
DragonFly is missing extattr_get_link() and extattr_list_{file,link}().
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index ed9a869..24c6258 100644
--- a/src/config.h
+++ b/src/config.h
@@ -103,7 +103,7 @@
# define BFS_USE_SYS_CAPABILITY_H (BFS_HAS_SYS_CAPABILITY_H && !__FreeBSD__)
#endif
#ifndef BFS_USE_SYS_EXTATTR_H
-# define BFS_USE_SYS_EXTATTR_H BFS_HAS_SYS_EXTATTR_H
+# define BFS_USE_SYS_EXTATTR_H (BFS_HAS_SYS_EXTATTR_H && !__DragonFly__)
#endif
#ifndef BFS_USE_SYS_MKDEV_H
# define BFS_USE_SYS_MKDEV_H BFS_HAS_SYS_MKDEV_H