From c35d0c2ed5578b180e17c37588a047fd013cc619 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 19 Apr 2024 15:14:09 -0400 Subject: config: Check for struct stat::st_flags --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stat.c') diff --git a/src/stat.c b/src/stat.c index a32dbaa..f5cf3fe 100644 --- a/src/stat.c +++ b/src/stat.c @@ -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 -- cgit v1.2.3