diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-01-08 14:47:27 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-01-08 15:11:36 -0500 |
commit | 2215f7a5d902764755673cc15a317982f0f15592 (patch) | |
tree | c164da27ad2bfbaa3e45439abd5c3c623f348250 /util.h | |
parent | 82dd2eb052aea282de099c2a26fd36f94649a5ae (diff) | |
download | bfs-2215f7a5d902764755673cc15a317982f0f15592.tar.xz |
fsade: Support checking for xattrs (extattrs) on FreeBSD
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ # define BFS_HAS_SYS_CAPABILITY BFS_HAS_INCLUDE(<sys/capability.h>, __linux__) #endif +#ifndef BFS_HAS_SYS_EXTATTR +# define BFS_HAS_SYS_EXTATTR BFS_HAS_INCLUDE(<sys/extattr.h>, __FreeBSD__) +#endif + #ifndef BFS_HAS_SYS_MKDEV # define BFS_HAS_SYS_MKDEV BFS_HAS_INCLUDE(<sys/mkdev.h>, false) #endif |