aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkfs/mkfs.c2
-rw-r--r--mkfs/options.c2
-rw-r--r--unpack/describe.c4
-rw-r--r--unpack/list_files.c4
-rw-r--r--unpack/options.c2
-rw-r--r--unpack/rdsquashfs.c2
-rw-r--r--unpack/rdsquashfs.h1
-rw-r--r--unpack/restore_fstree.c2
8 files changed, 1 insertions, 18 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 1d061b4..654534d 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -1,6 +1,4 @@
/* 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/options.c b/mkfs/options.c
index 56de813..f14e6ef 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "mkfs.h"
static struct option long_opts[] = {
diff --git a/unpack/describe.c b/unpack/describe.c
index cf5befd..be27857 100644
--- a/unpack/describe.c
+++ b/unpack/describe.c
@@ -1,10 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
-#include <sys/sysmacros.h>
-
static void print_name(tree_node_t *n)
{
if (n->parent != NULL) {
diff --git a/unpack/list_files.c b/unpack/list_files.c
index 4038684..9c48d46 100644
--- a/unpack/list_files.c
+++ b/unpack/list_files.c
@@ -1,10 +1,6 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
-#include <sys/sysmacros.h>
-
static void mode_to_str(uint16_t mode, char *p)
{
switch (mode & S_IFMT) {
diff --git a/unpack/options.c b/unpack/options.c
index 0f0660e..c42f16a 100644
--- a/unpack/options.c
+++ b/unpack/options.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
static struct option long_opts[] = {
diff --git a/unpack/rdsquashfs.c b/unpack/rdsquashfs.c
index 2996668..4a0f12b 100644
--- a/unpack/rdsquashfs.c
+++ b/unpack/rdsquashfs.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
int main(int argc, char **argv)
diff --git a/unpack/rdsquashfs.h b/unpack/rdsquashfs.h
index aa051a2..ed882ff 100644
--- a/unpack/rdsquashfs.h
+++ b/unpack/rdsquashfs.h
@@ -13,6 +13,7 @@
#include "fstree.h"
#include "util.h"
+#include <sys/sysmacros.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/unpack/restore_fstree.c b/unpack/restore_fstree.c
index 8fb04d7..455e604 100644
--- a/unpack/restore_fstree.c
+++ b/unpack/restore_fstree.c
@@ -1,6 +1,4 @@
/* SPDX-License-Identifier: GPL-3.0-or-later */
-#include "config.h"
-
#include "rdsquashfs.h"
static int create_node(tree_node_t *n, data_reader_t *data, int flags)