diff options
Diffstat (limited to 'src/fsade.h')
-rw-r--r-- | src/fsade.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fsade.h b/src/fsade.h index 4465017..4a9c6fa 100644 --- a/src/fsade.h +++ b/src/fsade.h @@ -17,7 +17,9 @@ #define BFS_CAN_CHECK_CONTEXT BFS_WITH_LIBSELINUX -#define BFS_CAN_CHECK_XATTRS (BFS_USE_SYS_EXTATTR_H || BFS_USE_SYS_XATTR_H) +#if __has_include(<sys/extattr.h>) || __has_include(<sys/xattr.h>) +# define BFS_CAN_CHECK_XATTRS true +#endif struct BFTW; |