summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/mkfs.c2
-rw-r--r--mkfs/mkfs.h3
-rw-r--r--mkfs/options.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 654534d..1d061b4 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -1,4 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
+#include "config.h"
+
#include "mkfs.h"
static int process_file(data_writer_t *data, tree_node_t *n, bool quiet)
diff --git a/mkfs/mkfs.h b/mkfs/mkfs.h
index 21a308b..3576c12 100644
--- a/mkfs/mkfs.h
+++ b/mkfs/mkfs.h
@@ -2,6 +2,8 @@
#ifndef MKFS_H
#define MKFS_H
+#include "config.h"
+
#include "meta_writer.h"
#include "data_writer.h"
#include "highlevel.h"
@@ -9,7 +11,6 @@
#include "compress.h"
#include "id_table.h"
#include "fstree.h"
-#include "config.h"
#include "util.h"
#include <getopt.h>
diff --git a/mkfs/options.c b/mkfs/options.c
index f14e6ef..56de813 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -1,4 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
+#include "config.h"
+
#include "mkfs.h"
static struct option long_opts[] = {