summaryrefslogtreecommitdiffstats
path: root/src/stat.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-11-06 16:22:57 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-11-06 16:37:14 -0500
commit096884c4fe1fb922eab2797d4583ca2ae8ae2600 (patch)
tree850e214301a5fd94b7f2a3e94bd90a390739581f /src/stat.c
parent46387a7dcda93e7df9f5baa3ead753c0feeff122 (diff)
downloadbfs-096884c4fe1fb922eab2797d4583ca2ae8ae2600.tar.xz
config: Split out some of util.h into a new header
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/stat.c b/src/stat.c
index cc20697..3134b6a 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -15,6 +15,7 @@
****************************************************************************/
#include "stat.h"
+#include "config.h"
#include "util.h"
#include <assert.h>
#include <errno.h>
@@ -24,10 +25,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#if BFS_USE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
-
#if defined(STATX_BASIC_STATS) && (!__ANDROID__ || __ANDROID_API__ >= 30)
# define BFS_LIBC_STATX true
#elif __linux__