summaryrefslogtreecommitdiffstats
path: root/src/util.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/util.c
parent46387a7dcda93e7df9f5baa3ead753c0feeff122 (diff)
downloadbfs-096884c4fe1fb922eab2797d4583ca2ae8ae2600.tar.xz
config: Split out some of util.h into a new header
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c
index bb2e1cc..da54040 100644
--- a/src/util.c
+++ b/src/util.c
@@ -15,6 +15,7 @@
****************************************************************************/
#include "util.h"
+#include "config.h"
#include "dstring.h"
#include "xregex.h"
#include <assert.h>
@@ -31,10 +32,6 @@
#include <unistd.h>
#include <wchar.h>
-#if BFS_USE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
-
#if BFS_USE_SYS_SYSMACROS_H
# include <sys/sysmacros.h>
#elif BFS_USE_SYS_MKDEV_H