summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/automount.c1
-rw-r--r--src/core/busname.c1
-rw-r--r--src/core/dbus-manager.c1
-rw-r--r--src/core/execute.c1
-rw-r--r--src/core/killall.c1
-rw-r--r--src/core/main.c1
-rw-r--r--src/core/mount.c1
-rw-r--r--src/core/service.c1
-rw-r--r--src/core/socket.c1
-rw-r--r--src/core/swap.c1
-rw-r--r--src/core/unit-printf.c1
-rw-r--r--src/core/unit.c1
12 files changed, 12 insertions, 0 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index f6a6ad5bfd..e1ca2a48ca 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -40,6 +40,7 @@
#include "dbus-automount.h"
#include "bus-util.h"
#include "bus-error.h"
+#include "formats-util.h"
static const UnitActiveState state_translation_table[_AUTOMOUNT_STATE_MAX] = {
[AUTOMOUNT_DEAD] = UNIT_INACTIVE,
diff --git a/src/core/busname.c b/src/core/busname.c
index 0ca9678a14..b1b953aadf 100644
--- a/src/core/busname.c
+++ b/src/core/busname.c
@@ -30,6 +30,7 @@
#include "bus-policy.h"
#include "dbus-busname.h"
#include "busname.h"
+#include "formats-util.h"
static const UnitActiveState state_translation_table[_BUSNAME_STATE_MAX] = {
[BUSNAME_DEAD] = UNIT_INACTIVE,
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 1b26e5556a..8821cc7820 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -40,6 +40,7 @@
#include "dbus-snapshot.h"
#include "dbus-execute.h"
#include "bus-common-errors.h"
+#include "formats-util.h"
static int property_get_version(
sd_bus *bus,
diff --git a/src/core/execute.c b/src/core/execute.c
index 768a32b31f..c87e9004bb 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -76,6 +76,7 @@
#include "smack-util.h"
#include "bus-endpoint.h"
#include "cap-list.h"
+#include "formats-util.h"
#ifdef HAVE_APPARMOR
#include "apparmor-util.h"
diff --git a/src/core/killall.c b/src/core/killall.c
index c6f1ddfec8..504051467d 100644
--- a/src/core/killall.c
+++ b/src/core/killall.c
@@ -27,6 +27,7 @@
#include "util.h"
#include "killall.h"
#include "set.h"
+#include "formats-util.h"
#define TIMEOUT_USEC (10 * USEC_PER_SEC)
diff --git a/src/core/main.c b/src/core/main.c
index dd8b65083b..5d1aed8d3f 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -72,6 +72,7 @@
#include "ima-setup.h"
#include "smack-setup.h"
#include "kmod-setup.h"
+#include "formats-util.h"
static enum {
ACTION_RUN,
diff --git a/src/core/mount.c b/src/core/mount.c
index c4aa810d05..8bfbbed2c0 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -40,6 +40,7 @@
#include "special.h"
#include "exit-status.h"
#include "fstab-util.h"
+#include "formats-util.h"
#define RETRY_UMOUNT_MAX 32
diff --git a/src/core/service.c b/src/core/service.c
index d9385504e8..c6ea6554f0 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -45,6 +45,7 @@
#include "bus-error.h"
#include "bus-util.h"
#include "bus-kernel.h"
+#include "formats-util.h"
static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = {
[SERVICE_DEAD] = UNIT_INACTIVE,
diff --git a/src/core/socket.c b/src/core/socket.c
index c81fd66eef..dd805d51df 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -48,6 +48,7 @@
#include "dbus-socket.h"
#include "unit.h"
#include "socket.h"
+#include "formats-util.h"
static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = {
[SOCKET_DEAD] = UNIT_INACTIVE,
diff --git a/src/core/swap.c b/src/core/swap.c
index 53f127484f..76660cc963 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -35,6 +35,7 @@
#include "virt.h"
#include "udev-util.h"
#include "fstab-util.h"
+#include "formats-util.h"
static const UnitActiveState state_translation_table[_SWAP_STATE_MAX] = {
[SWAP_DEAD] = UNIT_INACTIVE,
diff --git a/src/core/unit-printf.c b/src/core/unit-printf.c
index 90cb5040c1..bb4aa2121d 100644
--- a/src/core/unit-printf.c
+++ b/src/core/unit-printf.c
@@ -26,6 +26,7 @@
#include "unit-printf.h"
#include "macro.h"
#include "cgroup-util.h"
+#include "formats-util.h"
static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) {
Unit *u = userdata;
diff --git a/src/core/unit.c b/src/core/unit.c
index 7660d6b367..4b9c406e2e 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -46,6 +46,7 @@
#include "dbus.h"
#include "execute.h"
#include "dropin.h"
+#include "formats-util.h"
const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX] = {
[UNIT_SERVICE] = &service_vtable,