diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-10-05 12:47:31 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-10-05 12:47:31 -0400 |
commit | 14f790c80acf0f9f005ce9e7a94246954533163b (patch) | |
tree | b8387d68c228e998fb7ac148aae3fa5d44ae9934 | |
parent | 2c3bf8d6f064c5ccab1d57f3eb82381ff445cc4a (diff) | |
download | bfs-14f790c80acf0f9f005ce9e7a94246954533163b.tar.xz |
config: Fold !__FreeBSD__ into BFS_USE_SYS_CAPABILITY_H
-rw-r--r-- | src/config.h | 2 | ||||
-rw-r--r-- | src/fsade.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index 14c9305..e3048c4 100644 --- a/src/config.h +++ b/src/config.h @@ -88,7 +88,7 @@ # define BFS_USE_SYS_ACL_H BFS_HAS_SYS_ACL_H #endif #ifndef BFS_USE_SYS_CAPABILITY_H -# define BFS_USE_SYS_CAPABILITY_H BFS_HAS_SYS_CAPABILITY_H +# 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 diff --git a/src/fsade.h b/src/fsade.h index 0d9ecaf..413938d 100644 --- a/src/fsade.h +++ b/src/fsade.h @@ -13,7 +13,7 @@ #define BFS_CAN_CHECK_ACL BFS_USE_SYS_ACL_H -#if !defined(BFS_CAN_CHECK_CAPABILITIES) && BFS_USE_SYS_CAPABILITY_H && !__FreeBSD__ +#if !defined(BFS_CAN_CHECK_CAPABILITIES) && BFS_USE_SYS_CAPABILITY_H # include <sys/capability.h> # ifdef CAP_CHOWN # define BFS_CAN_CHECK_CAPABILITIES true |