]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
conf-parser: Reduce transitive includes
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 5 May 2025 12:09:05 +0000 (14:09 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 May 2025 13:04:46 +0000 (22:04 +0900)
60 files changed:
src/analyze/analyze-image-policy.c
src/core/bpf-devices.c
src/journal-remote/journal-compression-util.c
src/journal-remote/journal-header-util.c
src/login/logind-varlink.c
src/network/generator/network-generator.c
src/network/netdev/l2tp-tunnel.c
src/network/netdev/macsec.c
src/network/netdev/tunnel.c
src/network/netdev/vlan.c
src/network/networkctl-link-info.c
src/network/networkctl-list.c
src/network/networkctl-status-link.c
src/network/networkd-address-generation.c
src/network/networkd-dhcp-common.c
src/network/networkd-dns.c
src/network/networkd-ntp.c
src/network/networkd-sysctl.c
src/network/networkd-util.c
src/network/networkd-wifi.c
src/network/networkd-wiphy.c
src/network/tc/teql.c
src/nspawn/nspawn-oci.c
src/nspawn/nspawn-register.c
src/oom/oomd-manager-bus.c
src/oom/oomd-manager.c
src/resolve/resolved-dns-stub.c
src/resolve/resolved-dnssd.c
src/resolve/resolved-etc-hosts.c
src/resolve/resolved-socket-graveyard.c
src/resolve/resolved-varlink.c
src/shared/bus-message-util.c
src/shared/conf-parser.h
src/shared/ethtool-util.c
src/shared/kernel-config.c
src/shared/net-condition.c
src/shared/switch-root.c
src/sysctl/sysctl.c
src/systemctl/systemctl-add-dependency.c
src/systemctl/systemctl-edit.c
src/systemctl/systemctl-enable.c
src/systemctl/systemctl-is-active.c
src/systemctl/systemctl-is-system-running.c
src/systemctl/systemctl-kill.c
src/systemctl/systemctl-list-dependencies.c
src/systemctl/systemctl-list-jobs.c
src/systemctl/systemctl-list-machines.c
src/systemctl/systemctl-list-unit-files.c
src/systemctl/systemctl-list-units.c
src/systemctl/systemctl-log-setting.c
src/systemctl/systemctl-mount.c
src/systemctl/systemctl-set-default.c
src/systemctl/systemctl-set-environment.c
src/systemctl/systemctl-start-unit.c
src/systemctl/systemctl-switch-root.c
src/systemctl/systemctl-whoami.c
src/sysupdate/sysupdate-feature.c
src/udev/udev-builtin-dissect_image.c
src/udev/udev-format.c
src/udev/udevadm-settle.c

index ce2915d195f8af62e13ba631e934c041053e0eac..71ccbbc992f017b18b3ee06093bf07f6af8ec129 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "analyze.h"
 #include "analyze-image-policy.h"
 #include "format-table.h"
index 4393e074e96c15ea5fa5a6bfd9cf4c9c3c70c4ab..adaa92936483241a21e4b500b0172ef5c667176e 100644 (file)
@@ -3,6 +3,7 @@
 #include <fnmatch.h>
 #include <linux/bpf_insn.h>
 
+#include "alloc-util.h"
 #include "bpf-devices.h"
 #include "bpf-program.h"
 #include "devnum-util.h"
index 7e0e5a1751cbaf40f0a3b3d035ff58fa42cddab0..2b121fd0e3db5c80e1461f215c38c5d7860859b2 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "extract-word.h"
 #include "journal-compression-util.h"
 #include "parse-util.h"
index e5a94e74b322dedd8e9f81d5ded3b6c40252ed78..99de7c658944691a2c9aa6903a896eb56b747ce4 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "escape.h"
 #include "journal-header-util.h"
 #include "string-util.h"
index b8181c76f994a7f956a3db31d968fa9e39078e93..69a453483f4a995ddda01a2695c0901e4e1a01a4 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "cgroup-util.h"
 #include "fd-util.h"
 #include "format-util.h"
index eb66038c3784ee001b62366f9cb271dd2affd1b9..d113e1cb46c71e1971e6c9832b3f7d5fb74af48d 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "extract-word.h"
 #include "fd-util.h"
 #include "fileio.h"
index 42d2ec8642f5792430957a09e1f06070e0350f8f..01741f2a690033301f79e6288fa23a3b0147b7ab 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/l2tp.h>
 #include <netinet/in.h>
 
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "hashmap.h"
 #include "l2tp-tunnel.h"
index 638ad7dd5041c47ffdb3b9f50d4ba86dfbd78985..df3ae99a0902bf167615b5b08de7cc25e15ac3b3 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/if_macsec.h>
 #include <netinet/in.h>
 
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "fileio.h"
 #include "hashmap.h"
index cf3a36be8fb99d4b6667693fa2745aeccbb0ee17..ef47218c9f2505522fb62fffc3449d2bf1ec3f77 100644 (file)
@@ -8,6 +8,7 @@
 #include <netinet/in.h>
 
 #include "af-list.h"
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "hexdecoct.h"
 #include "missing_network.h"
index f6b9234740f674b21f035ac7b1e2f98b58562b60..0f62fcaff385af6e3f62ea66ad5cee59f6dece70 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/if_vlan.h>
 #include <net/if.h>
 
+#include "alloc-util.h"
 #include "parse-util.h"
 #include "vlan.h"
 #include "vlan-util.h"
index f356d3c2311613fea04ee6c191699cb89c121a32..17686889803329d81891bb0423f9b360bd07326c 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <linux/if_tunnel.h>
 
+#include "alloc-util.h"
 #include "bus-common-errors.h"
 #include "bus-error.h"
 #include "bus-util.h"
index a23930d80e4ba53a3a5b4f8a6b985196ddaa4ea7..4cb976216e11a2ec0d9c2c600571f97bfe485eee 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "sd-network.h"
 
+#include "alloc-util.h"
 #include "format-table.h"
 #include "netif-util.h"
 #include "networkctl.h"
index 8e504a4c9b2ae9d21f5ca3ae0ad10b92b0158292..a2a451f6c0a153bbf40c3fe3a0273af11cbfe62d 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "sd-network.h"
 
+#include "alloc-util.h"
 #include "bond-util.h"
 #include "bridge-util.h"
 #include "bus-error.h"
index 2663af87f69a929f9ee06d6ada6dcd1c6320e62b..18840e02d13822e1dc6fb68b8f376341bda053dc 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "sd-id128.h"
 
+#include "alloc-util.h"
 #include "arphrd-util.h"
 #include "id128-util.h"
 #include "memory-util.h"
index 427d807356e7e90d1da86164650155584604e2c5..2edc94d13ebafefaf9bd74737989bd0af9871e15 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/if_arp.h>
 #include <netinet/in.h>
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "dhcp-option.h"
index bc3bc65c200193c66f1e52c8660657a6e2356c24..cd0cd287399baf3614cfaa3a49c4bb669a82ea3e 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "dns-domain.h"
 #include "hostname-util.h"
 #include "networkd-dns.h"
index e764feacb90e574614fecbaffd8fb87a7fbd70e3..41db2f43715939437394ac624d6fa281d62e4578 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "dns-domain.h"
 #include "networkd-network.h"
 #include "networkd-ntp.h"
index f5aad84c3bf72ef5c4b79d2eb1461887f00766fb..1f30669e2ed679545d49ea34eafafdeee639446d 100644 (file)
@@ -7,6 +7,7 @@
 #include "sd-messages.h"
 
 #include "af-list.h"
+#include "alloc-util.h"
 #include "cgroup-util.h"
 #include "event-util.h"
 #include "fd-util.h"
index 87139ba47f4a54747a9fa5c2640cc0dd8d2d75f4..53115786c7d30e31f3dbe0598a0769741d4a67d8 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bitfield.h"
 #include "condition.h"
 #include "conf-parser.h"
index 35357830be7b4dccf11f6068a05a660e312b2bd8..d1b35df29952dc4b211736696f7a1038219625bf 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/nl80211.h>
 #include <net/ethernet.h>
 
+#include "alloc-util.h"
 #include "ether-addr-util.h"
 #include "netlink-util.h"
 #include "networkd-link.h"
index ca50c52f8eb77ee7e952ccaa8df8664831553ac9..0641fea37030f6021fda0caf0d4fdce7ecd9d404 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/nl80211.h>
 #include <net/if_arp.h>
 
+#include "alloc-util.h"
 #include "device-private.h"
 #include "device-util.h"
 #include "networkd-manager.h"
index f4fa331f523c237218fba3e8e39a580d5910d955..06640afc31648c20a5900cf771f4240b8bd27a84 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "macro.h"
 #include "networkd-link.h"
 #include "parse-util.h"
index 1e339e0208ae561912580d986384c21bda1b7d51..430af7b8a23fa5cb68727ba02df6456e305d3375 100644 (file)
@@ -4,6 +4,7 @@
 
 #include "sd-json.h"
 
+#include "alloc-util.h"
 #include "bus-util.h"
 #include "cap-list.h"
 #include "cpu-set-util.h"
index 0387e0b7836e2d500b3721222616f59c30c938ee..36cd2066e54611d14f0494a8fc97d83fd66affe4 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "sd-bus.h"
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "bus-unit-util.h"
index b406bc94e8aa42a11ef4bdb60f9b1d45193302b0..f2bf6b41cb5d02c1184ed5beeef22b8fc55e3451 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <linux/capability.h>
 
+#include "alloc-util.h"
 #include "bus-common-errors.h"
 #include "bus-polkit.h"
 #include "fd-util.h"
index fa48b73bb12b0a0e4944368580b55e1641673b3b..b494ea0c284c31a6b65bffeda63d0c75554a59e0 100644 (file)
@@ -3,6 +3,7 @@
 #include "sd-daemon.h"
 #include "sd-json.h"
 
+#include "alloc-util.h"
 #include "bus-log-control-api.h"
 #include "bus-polkit.h"
 #include "bus-util.h"
index 053365f7fa68c43001059f6c205afa322326ea6d..e70902a60b348ae7f515d67eafac95b6910a6f55 100644 (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"
index e2a57155dc04d8a14fa79538a685963054144737..6523737ccec554302775ff122ddc5759df78d236 100644 (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"
index 14580cb9bea78f02baa659c0b84ed0870704f631..bb655d055d0e65f2b093f2e37dd1a834fd14cee7 100644 (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"
index 0b04002bafbe994962ef819afc57b0f02213437e..a55ebd304e54619fb1e4356aec0ff370193e3f89 100644 (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"
 
index 1a50f64a85bb1312686d953e8c89b2bde2cdb3b4..cf9569e667914788213f5c6b403b4b74901fec85 100644 (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"
index 1b855df29316f2dbe9ed25d92946ff57b39e64cb..20a0d0eb7799c9b45c2bfc538f9021a68f509638 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <unistd.h>
 
+#include "alloc-util.h"
 #include "bus-message-util.h"
 #include "bus-util.h"
 #include "copy.h"
index 83bf62cca96e7f7e6d1f11e0f8787c892a1232ed..fdc6c3755b48ddb4a3795fa76be53b368019e194 100644 (file)
@@ -8,11 +8,9 @@
 #include <sys/stat.h>
 #include <syslog.h>
 
-#include "alloc-util.h"
 #include "hashmap.h"
 #include "log.h"
-#include "macro.h"
-#include "time-util.h"
+#include "memory-util.h"
 
 /* An abstract parser for simple, line based, shallow configuration files consisting of variable assignments only. */
 
index a91cd5bbf82f494e989b9d514d54fdb8466b3fea..c807aceefdc6b9bbfea995d74273950cb7c29c8a 100644 (file)
@@ -6,6 +6,7 @@
 #include <net/if.h>
 #include <sys/ioctl.h>
 
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "ethtool-util.h"
 #include "extract-word.h"
index 483ca28211bc1b97e700303644b4afc2e6bcc750..c1a0a952f5341e343bc419179a709cd0623edfd9 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <errno.h>
 
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "kernel-config.h"
 #include "macro.h"
index 9c55be0526e034eb483842c6de7ac648957ba5e0..67a088f7c8dc155543d2ed9377855bb3df0ce1c8 100644 (file)
@@ -3,6 +3,7 @@
 #include <fnmatch.h>
 #include <netinet/ether.h>
 
+#include "alloc-util.h"
 #include "condition.h"
 #include "env-util.h"
 #include "log.h"
index 621161a1c0f456053f7932d6d3e55ffab530af92..9e55141eedccde12675310a8a62abc8230b2d7b7 100644 (file)
@@ -8,6 +8,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include "alloc-util.h"
 #include "base-filesystem.h"
 #include "chase.h"
 #include "creds-util.h"
index aac965f5de7fba00bc1996cd3bb742a80df52d04..cff3bb5b461e756866b5ef811b80e132a00c2996 100644 (file)
@@ -9,6 +9,7 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#include "alloc-util.h"
 #include "build.h"
 #include "conf-files.h"
 #include "constants.h"
index 7ebcc12afb6d32c363adeafbe9ddb8ebab5df36d..741280b302f0da43a8be8c709e1803606eba646e 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "systemctl.h"
index cb8f7693ec1bbd8221e92b43c819c09de57a74d6..563b192d9804ce691229f4a283a2485d7e87ab1f 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "edit-util.h"
 #include "fs-util.h"
index 21b7119b98ec47ad5466099048e77a86d722732f..beb7dc2cc7097811b3e42e35dd77d926d042ce6c 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "path-util.h"
index a33e427d94c9744270e33a0bf4777cd59993d876..484dcbfbe661d06ba25ad9f7f0a02990177fda34 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "pretty-print.h"
index 2bd546597bb04e2bd641c4724aeb378d750e5d7d..a6495e68cde7102e419c65df2efe3db872092da1 100644 (file)
@@ -3,6 +3,7 @@
 #include "sd-daemon.h"
 #include "sd-event.h"
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "bus-util.h"
index 0581e47bd892a25692b9a0782a9d0c18e4bdabf4..a72163c3432f88a6c3b0433c46adf5849474501c 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "bus-wait-for-units.h"
index 66a885199869c08acbe36167a2b66a510a41af65..a5f8a407fe5c9807da98e84d00504f0884d7572d 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "locale-util.h"
 #include "sort-util.h"
index 80696aabf31099b5aec50803c98ac4eed5cf437a..6b7e0597ceeac01cf595b27c5deaab76ccba8837 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <fnmatch.h>
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "bus-error.h"
 #include "bus-locator.h"
index 25c7c6f3578e2c4cbd05e5da352c399e8f8a49f3..60d101312736134dad2f7c8d229b529b7bc9a10a 100644 (file)
@@ -5,6 +5,7 @@
 
 #include "sd-login.h"
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "bus-map-properties.h"
 #include "hostname-setup.h"
index 2b6f9ddd2dcbdc54ad3ed62207d511ea5b67e145..cf36e9441201f913ab38db0087982e5c3b1ae2e3 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <fnmatch.h>
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "bus-error.h"
 #include "bus-locator.h"
index 72dc09183e2f18c01cf8efe5cf7ff57bf6cee031..ec9c517c1901b5f3d867fe3b094ec4603f7b0531 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "sd-login.h"
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "bus-error.h"
 #include "bus-locator.h"
index a3afbe5d08cd85ca8dd19024672cd2765da6b097..8b6e58cbc47b125c8693a993640106e8be5f0a94 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "pretty-print.h"
index 9a44fe158d19e4c558aba3e2f64877c15ef3bbd8..058aaad92506a2669345902adfbdfdaa0f7386f5 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "dissect-image.h"
index c8293cca3abbee530029c876c1d170cd474c85e5..ae434dc357edca95e99f432a4ae3f59edecf966e 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "proc-cmdline.h"
index 8a21a4df8994de6224387484be91b1bb8a19bf89..3aed41eccd5bf3d937e26d567ae3fa09549985b7 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
 #include "env-util.h"
index d4192b4506a759067fdb45033f0bb2e02195abd2..7ea2cf8998699cf1a97fa8fe0d140785ef381447 100644 (file)
@@ -2,6 +2,7 @@
 
 #include "sd-bus.h"
 
+#include "alloc-util.h"
 #include "ansi-color.h"
 #include "bus-common-errors.h"
 #include "bus-error.h"
index ae4a1a72c2b56dd5e29beda3f0053723298e21bb..45e8f8a750e413a2841ed944f5805e22ce04aad2 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "argv-util.h"
 #include "bus-error.h"
 #include "bus-locator.h"
index 607f2db047956710fbe89164248a7db7c875dd03..c8976c5d61aa12bb6a967ac0ff7fb8d10fc39c0d 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "format-util.h"
 #include "parse-util.h"
 #include "systemctl.h"
index 38fbc2b20cce9bc76b38425524ed38e8147ae83a..133db82b0b54f7bed978ae1324c06bae8c08aab4 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+#include "alloc-util.h"
 #include "conf-parser.h"
 #include "hash-funcs.h"
 #include "path-util.h"
index 73cf9b424261ed65081317e3bd7d2a7e11989c0f..8bc8df990c8afcb6105ac7c3810ab3c2726c0fb2 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 
+#include "alloc-util.h"
 #include "blockdev-util.h"
 #include "device-util.h"
 #include "dissect-image.h"
index c09ea44d91a066b017e7202d7e8331917cd0752c..8da68ea86b89cf7990ec0bfc4230ecac0ea92510 100644 (file)
@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-or-later */
 
+#include "alloc-util.h"
 #include "device-util.h"
 #include "errno-util.h"
 #include "parse-util.h"
index 6f87f76fcdb00a5706d7fba48f1a572ebbf620c0..9d6ec684f3db1f0f69148e0f9405fa5dd6b18e4f 100644 (file)
@@ -12,6 +12,7 @@
 #include "sd-login.h"
 #include "sd-messages.h"
 
+#include "alloc-util.h"
 #include "bus-util.h"
 #include "path-util.h"
 #include "strv.h"