diff --git a/src/basic/log-context.h b/src/basic/log-context.h index 2c15071f43..84339695bf 100644 --- a/src/basic/log-context.h +++ b/src/basic/log-context.h @@ -4,6 +4,7 @@ #include #include +#include "list.h" #include "macro.h" #include "memory-util.h" diff --git a/src/basic/log.c b/src/basic/log.c index c244666f1f..0c50cde0b4 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -24,6 +24,7 @@ #include "fd-util.h" #include "format-util.h" #include "iovec-util.h" +#include "list.h" #include "log.h" #include "log-context.h" #include "macro.h" diff --git a/src/basic/log.h b/src/basic/log.h index e6b6a4b4fe..f52fb004e7 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -7,7 +7,6 @@ #include #include -#include "list.h" #include "macro.h" #include "stdio-util.h" diff --git a/src/pcrlock/pcrlock.c b/src/pcrlock/pcrlock.c index bf7437ef14..8e3a38929c 100644 --- a/src/pcrlock/pcrlock.c +++ b/src/pcrlock/pcrlock.c @@ -32,6 +32,7 @@ #include "hexdecoct.h" #include "initrd-util.h" #include "json-util.h" +#include "list.h" #include "main-func.h" #include "mkdir-label.h" #include "openssl-util.h" diff --git a/src/shutdown/detach-dm.c b/src/shutdown/detach-dm.c index 88e6a47a27..e6b3e808d3 100644 --- a/src/shutdown/detach-dm.c +++ b/src/shutdown/detach-dm.c @@ -15,6 +15,7 @@ #include "devnum-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" typedef struct DeviceMapper { diff --git a/src/shutdown/detach-loopback.c b/src/shutdown/detach-loopback.c index 25288af221..aa50299694 100644 --- a/src/shutdown/detach-loopback.c +++ b/src/shutdown/detach-loopback.c @@ -19,6 +19,7 @@ #include "device-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" typedef struct LoopbackDevice { diff --git a/src/shutdown/detach-md.c b/src/shutdown/detach-md.c index 8b88d9b870..be24bc20ba 100644 --- a/src/shutdown/detach-md.c +++ b/src/shutdown/detach-md.c @@ -17,6 +17,7 @@ #include "devnum-util.h" #include "errno-util.h" #include "fd-util.h" +#include "list.h" #include "shutdown.h" #include "string-util.h" diff --git a/src/shutdown/detach-swap.c b/src/shutdown/detach-swap.c index eafdc4341e..4c47636fc6 100644 --- a/src/shutdown/detach-swap.c +++ b/src/shutdown/detach-swap.c @@ -9,6 +9,7 @@ #include "detach-swap.h" #include "errno-util.h" #include "libmount-util.h" +#include "list.h" static void swap_device_free(SwapDevice **head, SwapDevice *m) { assert(head); diff --git a/src/udev/udev-manager.h b/src/udev/udev-manager.h index 806adb3ef8..9526265154 100644 --- a/src/udev/udev-manager.h +++ b/src/udev/udev-manager.h @@ -8,6 +8,7 @@ #include "sd-varlink.h" #include "hashmap.h" +#include "list.h" #include "macro.h" #include "time-util.h" #include "udev-config.h"