summaryrefslogtreecommitdiff
path: root/src/grp-journal/grp-remote/systemd-journal-upload
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-21 03:00:49 -0400
commit623f13d8198b83df890f014b1d27255f4d78f35b (patch)
treea38236004dfb3abd99952585638e6141513eaa8c /src/grp-journal/grp-remote/systemd-journal-upload
parentbe6cdcb499515a8dc200440f9c0f95d16edbaa2d (diff)
wip
Diffstat (limited to 'src/grp-journal/grp-remote/systemd-journal-upload')
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-upload/Makefile3
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-upload/journal-upload-journal.c8
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.c28
-rw-r--r--src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.h2
4 files changed, 22 insertions, 19 deletions
diff --git a/src/grp-journal/grp-remote/systemd-journal-upload/Makefile b/src/grp-journal/grp-remote/systemd-journal-upload/Makefile
index acfcbd22df..bc272e52da 100644
--- a/src/grp-journal/grp-remote/systemd-journal-upload/Makefile
+++ b/src/grp-journal/grp-remote/systemd-journal-upload/Makefile
@@ -54,4 +54,7 @@ EXTRA_DIST += \
units/systemd-journal-upload.service.in \
src/journal-remote/journal-upload.conf.in
+sd.CPPFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\"
+sd.CPPFLAGS += -DCERTIFICATE_ROOT=\"$(CERTIFICATEROOT)\"
+
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload-journal.c b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload-journal.c
index 61d287da97..3a5e450e35 100644
--- a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload-journal.c
+++ b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload-journal.c
@@ -22,10 +22,10 @@
#include <systemd/sd-daemon.h>
-#include "basic/alloc-util.h"
-#include "basic/log.h"
-#include "basic/utf8.h"
-#include "basic/util.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/log.h"
+#include "systemd-basic/utf8.h"
+#include "systemd-basic/util.h"
#include "journal-upload.h"
diff --git a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.c b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.c
index 82d8331e76..52964bd03a 100644
--- a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.c
+++ b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.c
@@ -25,20 +25,20 @@
#include <systemd/sd-daemon.h>
-#include "basic/alloc-util.h"
-#include "basic/def.h"
-#include "basic/fd-util.h"
-#include "basic/fileio.h"
-#include "basic/formats-util.h"
-#include "basic/glob-util.h"
-#include "basic/log.h"
-#include "basic/mkdir.h"
-#include "basic/parse-util.h"
-#include "basic/sigbus.h"
-#include "basic/signal-util.h"
-#include "basic/string-util.h"
-#include "basic/util.h"
-#include "shared/conf-parser.h"
+#include "systemd-basic/alloc-util.h"
+#include "systemd-basic/def.h"
+#include "systemd-basic/fd-util.h"
+#include "systemd-basic/fileio.h"
+#include "systemd-basic/formats-util.h"
+#include "systemd-basic/glob-util.h"
+#include "systemd-basic/log.h"
+#include "systemd-basic/mkdir.h"
+#include "systemd-basic/parse-util.h"
+#include "systemd-basic/sigbus.h"
+#include "systemd-basic/signal-util.h"
+#include "systemd-basic/string-util.h"
+#include "systemd-basic/util.h"
+#include "systemd-shared/conf-parser.h"
#include "journal-upload.h"
diff --git a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.h b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.h
index 9eeb8d2123..f1fd95e22c 100644
--- a/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.h
+++ b/src/grp-journal/grp-remote/systemd-journal-upload/journal-upload.h
@@ -6,7 +6,7 @@
#include <systemd/sd-event.h>
#include <systemd/sd-journal.h>
-#include "basic/time-util.h"
+#include "systemd-basic/time-util.h"
typedef enum {
ENTRY_CURSOR = 0, /* Nothing actually written yet. */