summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-01-09 13:17:24 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-01-09 13:50:09 -0500
commitd39d6999a78747f8048fd57e2ca3143c81c53537 (patch)
tree900f7757f3e92a43fbd808e2ae05775f7ed581bc /src/config.h
parent3be3248d291f3bbfa2fdf9f80843b46e375f3aae (diff)
downloadbfs-d39d6999a78747f8048fd57e2ca3143c81c53537.tar.xz
config: Disable sys/acl.h on illumos
Their ACL API is quite a bit different from most. Link: https://illumos.org/man/2/acl
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 24c6258..85ad57e 100644
--- a/src/config.h
+++ b/src/config.h
@@ -97,7 +97,7 @@
# define BFS_USE_PATHS_H BFS_HAS_PATHS_H
#endif
#ifndef BFS_USE_SYS_ACL_H
-# define BFS_USE_SYS_ACL_H BFS_HAS_SYS_ACL_H
+# define BFS_USE_SYS_ACL_H (BFS_HAS_SYS_ACL_H && !__illumos__)
#endif
#ifndef BFS_USE_SYS_CAPABILITY_H
# define BFS_USE_SYS_CAPABILITY_H (BFS_HAS_SYS_CAPABILITY_H && !__FreeBSD__)