summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-06 16:30:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-11-08 13:41:14 +0100
commitd6b4d1c7c42db5b53ece960c279856d96abbf216 (patch)
tree3b0a8f189d8d7f8e86303668748b6dbb5ad914b3 /src/journal-remote
parentc8715007e09898f3d517863c4d8b3249bee0b4ad (diff)
downloadsystemd-d6b4d1c7c42db5b53ece960c279856d96abbf216.tar.gz
basic: move version() to build.h+c
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-gatewayd.c2
-rw-r--r--src/journal-remote/journal-remote-main.c1
-rw-r--r--src/journal-remote/journal-upload.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/journal-remote/journal-gatewayd.c b/src/journal-remote/journal-gatewayd.c
index 34def4670e..b3b44bceb8 100644
--- a/src/journal-remote/journal-gatewayd.c
+++ b/src/journal-remote/journal-gatewayd.c
@@ -14,6 +14,7 @@
#include "sd-journal.h"
#include "alloc-util.h"
+#include "build.h"
#include "bus-util.h"
#include "errno-util.h"
#include "fd-util.h"
@@ -30,7 +31,6 @@
#include "pretty-print.h"
#include "sigbus.h"
#include "tmpfile-util.h"
-#include "util.h"
#define JOURNAL_WAIT_TIMEOUT (10*USEC_PER_SEC)
diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c
index 0088652184..1ebcb8ddce 100644
--- a/src/journal-remote/journal-remote-main.c
+++ b/src/journal-remote/journal-remote-main.c
@@ -5,6 +5,7 @@
#include "sd-daemon.h"
+#include "build.h"
#include "conf-parser.h"
#include "daemon-util.h"
#include "def.h"
diff --git a/src/journal-remote/journal-upload.c b/src/journal-remote/journal-upload.c
index 06448b2225..6d58e48bbf 100644
--- a/src/journal-remote/journal-upload.c
+++ b/src/journal-remote/journal-upload.c
@@ -10,6 +10,7 @@
#include "sd-daemon.h"
#include "alloc-util.h"
+#include "build.h"
#include "conf-parser.h"
#include "daemon-util.h"
#include "def.h"
@@ -32,7 +33,6 @@
#include "string-util.h"
#include "strv.h"
#include "tmpfile-util.h"
-#include "util.h"
#include "version.h"
#define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-upload.pem"