summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-start-unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-07-11 11:02:28 +0200
committerLennart Poettering <lennart@poettering.net>2024-07-19 11:44:04 +0200
commitb7120388f8dd638aec33dc640f273d1a9016d676 (patch)
tree121d10495834fd4dcdf9d03d88f61e7080e9b56e /src/systemctl/systemctl-start-unit.c
parentterminal-util: remove terminal_vhangup() because apparently unused (diff)
downloadsystemd-b7120388f8dd638aec33dc640f273d1a9016d676.tar.xz
systemd-b7120388f8dd638aec33dc640f273d1a9016d676.zip
terminal-util: split out color macros/helpers into its own header
This is a lot of stuff, and sometimes quite wild, let's turn this into its own header. All stuff color-related that just generates sequences is now in ansi-color.h (no .c file!), and everything more complex that probes/ineracts with terminals remains in termina-util.[ch]
Diffstat (limited to 'src/systemctl/systemctl-start-unit.c')
-rw-r--r--src/systemctl/systemctl-start-unit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl/systemctl-start-unit.c b/src/systemctl/systemctl-start-unit.c
index 8068d77d1c..909f051cde 100644
--- a/src/systemctl/systemctl-start-unit.c
+++ b/src/systemctl/systemctl-start-unit.c
@@ -2,6 +2,7 @@
#include "sd-bus.h"
+#include "ansi-color.h"
#include "bus-common-errors.h"
#include "bus-error.h"
#include "bus-locator.h"