summaryrefslogtreecommitdiffstats
path: root/src/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.h')
-rw-r--r--src/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.h b/src/stat.h
index 8d7144d..6a8c3f5 100644
--- a/src/stat.h
+++ b/src/stat.h
@@ -25,7 +25,7 @@
# define BFS_USE_STATX (BFS_HAS_STATX || BFS_HAS_STATX_SYSCALL)
#endif
-#if BFS_USE_SYS_PARAM_H
+#if __has_include(<sys/param.h>)
# include <sys/param.h>
#endif