tree-wide: Make sure all headers are standalone

Let's make sure all of our headers include everything they require.
This commit is contained in:
Daan De Meyer
2025-04-23 10:33:38 +02:00
parent 44de729cdc
commit 401a22bfc1
81 changed files with 128 additions and 27 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include "sd-event.h"
#include "import-compress.h"
#include "macro.h"
#include "memory-util.h"
typedef struct RawExport RawExport;
+1 -1
View File
@@ -4,7 +4,7 @@
#include "sd-event.h"
#include "import-compress.h"
#include "macro.h"
#include "memory-util.h"
typedef struct TarExport TarExport;
+2
View File
@@ -1,6 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <errno.h>
#include <stdbool.h>
#include <sys/types.h>
#include "sd-event.h"
+1
View File
@@ -13,6 +13,7 @@
#include "import-common.h"
#include "import-compress.h"
#include "import-raw.h"
#include "import-util.h"
#include "install-file.h"
#include "io-util.h"
#include "log.h"
+1 -2
View File
@@ -4,8 +4,7 @@
#include "sd-event.h"
#include "import-common.h"
#include "import-util.h"
#include "macro.h"
#include "memory-util.h"
typedef struct RawImport RawImport;
+1
View File
@@ -13,6 +13,7 @@
#include "import-common.h"
#include "import-compress.h"
#include "import-tar.h"
#include "import-util.h"
#include "install-file.h"
#include "io-util.h"
#include "log.h"
+1 -2
View File
@@ -4,8 +4,7 @@
#include "sd-event.h"
#include "import-common.h"
#include "import-util.h"
#include "macro.h"
#include "memory-util.h"
typedef struct TarImport TarImport;