summaryrefslogtreecommitdiffstats
path: root/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h6
1 files changed, 5 insertions, 1 deletions
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 <sys/param.h>
+#include "util.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
+#if BFS_HAS_SYS_PARAM
+# include <sys/param.h>
+#endif
+
/**
* bfs_stat field bitmask.
*/