summaryrefslogtreecommitdiffstats
path: root/src/shared/qrcode-util.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/shared/qrcode-util.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/shared/qrcode-util.c')
-rw-r--r--src/shared/qrcode-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/qrcode-util.c b/src/shared/qrcode-util.c
index 10ed542df2..36cd5dcd7c 100644
--- a/src/shared/qrcode-util.c
+++ b/src/shared/qrcode-util.c
@@ -5,6 +5,7 @@
#if HAVE_QRENCODE
#include <qrencode.h>
+#include "ansi-color.h"
#include "dlfcn-util.h"
#include "locale-util.h"
#include "log.h"