conf-parser: Reduce transitive includes

This commit is contained in:
Daan De Meyer
2025-05-07 22:04:46 +09:00
committed by Yu Watanabe
parent e548ca38b9
commit b78d73fa22
60 changed files with 60 additions and 3 deletions
+1
View File
@@ -3,6 +3,7 @@
#include <net/if_arp.h>
#include <netinet/tcp.h>
#include "alloc-util.h"
#include "capability-util.h"
#include "dns-type.h"
#include "errno-util.h"
+1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "alloc-util.h"
#include "conf-files.h"
#include "conf-parser.h"
#include "constants.h"
+1
View File
@@ -4,6 +4,7 @@
#include <sys/types.h>
#include <unistd.h>
#include "alloc-util.h"
#include "dns-domain.h"
#include "fd-util.h"
#include "fileio.h"
+1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "alloc-util.h"
#include "resolved-manager.h"
#include "resolved-socket-graveyard.h"
+1
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "alloc-util.h"
#include "bus-polkit.h"
#include "dns-domain.h"
#include "dns-type.h"