From 4b60aafc1185164cf48a0627bc3b092c6a79b3bc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 8 Nov 2018 08:18:12 -0400 Subject: Check for before including it Fixes #38. --- stat.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'stat.h') diff --git a/stat.h b/stat.h index 2519ff3..dc24cb4 100644 --- a/stat.h +++ b/stat.h @@ -17,11 +17,15 @@ #ifndef BFS_STAT_H #define BFS_STAT_H -#include +#include "util.h" #include #include #include +#if BFS_HAS_SYS_PARAM +# include +#endif + /** * bfs_stat field bitmask. */ -- cgit v1.2.3