diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-05-23 17:13:39 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-05-24 09:00:51 -0400 |
commit | f1fb3158d3f242f1884d8d8a7473ab0719e93e8c (patch) | |
tree | 4ab193109db3da98b779ed807f40adb3bb0b9fbd /util.h | |
parent | d9b3196d6c8f4fa0e7d0a4771040762edaebb1ee (diff) | |
download | bfs-f1fb3158d3f242f1884d8d8a7473ab0719e93e8c.tar.xz |
Implement -xattr predicate
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,6 +67,10 @@ # define BFS_HAS_SYS_SYSMACROS BFS_HAS_INCLUDE(<sys/sysmacros.h>, __GLIBC__) #endif +#ifndef BFS_HAS_SYS_XATTR +# define BFS_HAS_SYS_XATTR BFS_HAS_INCLUDE(<sys/xattr.h>, __linux__) +#endif + #if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE) # define FNM_CASEFOLD FNM_IGNORECASE #endif |