diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-19 15:14:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-19 15:50:45 -0400 |
commit | c35d0c2ed5578b180e17c37588a047fd013cc619 (patch) | |
tree | b2ffc5b1329c886ca25797c88faaaff0094439f2 /src | |
parent | 48d91c62cd27c15fe0e928abf6d023d17e9c41f7 (diff) | |
download | bfs-c35d0c2ed5578b180e17c37588a047fd013cc619.tar.xz |
config: Check for struct stat::st_flags
Diffstat (limited to 'src')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ void bfs_stat_convert(struct bfs_stat *dest, const struct stat *src) { dest->rdev = src->st_rdev; dest->mask |= BFS_STAT_RDEV; -#if BSD +#if BFS_HAS_ST_FLAGS dest->attrs = src->st_flags; dest->mask |= BFS_STAT_ATTRS; #endif |