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
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <stdio.h>
#include <stdbool.h>
#include <stdio.h>
#include <sys/types.h>
#include "fdset.h"
+2
View File
@@ -3,6 +3,8 @@
#include <stdbool.h>
#include "crash-handler.h"
extern bool arg_dump_core;
extern int arg_crash_chvt;
extern bool arg_crash_shell;
+1
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
#include <stdarg.h>
#include <stdbool.h>
#include "macro.h"
+2
View File
@@ -7,4 +7,6 @@
Nathaniel Chen <nathaniel.chen@intel.com>
***/
#include <stdbool.h>
int mac_smack_setup(bool *loaded_policy);