summaryrefslogtreecommitdiff
path: root/src/libsystemd-basic
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-basic')
l---------src/libsystemd-basic/include/systemd-basic/_sd-common.h1
-rw-r--r--src/libsystemd-basic/include/systemd-basic/btrfs-util.h3
-rw-r--r--src/libsystemd-basic/include/systemd-basic/log.h3
l---------src/libsystemd-basic/include/systemd-basic/sd-id128-static.h1
l---------src/libsystemd-basic/include/systemd-basic/sd-messages.h1
-rw-r--r--src/libsystemd-basic/src/log.c3
6 files changed, 6 insertions, 6 deletions
diff --git a/src/libsystemd-basic/include/systemd-basic/_sd-common.h b/src/libsystemd-basic/include/systemd-basic/_sd-common.h
new file mode 120000
index 0000000000..653327c267
--- /dev/null
+++ b/src/libsystemd-basic/include/systemd-basic/_sd-common.h
@@ -0,0 +1 @@
+../../../libsystemd/include/systemd/_sd-common.h \ No newline at end of file
diff --git a/src/libsystemd-basic/include/systemd-basic/btrfs-util.h b/src/libsystemd-basic/include/systemd-basic/btrfs-util.h
index db431f5b74..4d7fcd4e62 100644
--- a/src/libsystemd-basic/include/systemd-basic/btrfs-util.h
+++ b/src/libsystemd-basic/include/systemd-basic/btrfs-util.h
@@ -23,8 +23,7 @@
#include <stdint.h>
#include <sys/types.h>
-#include <systemd/sd-id128.h>
-
+#include "sd-id128-static.h"
#include "time-util.h"
typedef struct BtrfsSubvolInfo {
diff --git a/src/libsystemd-basic/include/systemd-basic/log.h b/src/libsystemd-basic/include/systemd-basic/log.h
index f5f62e1c23..3e6c9197b0 100644
--- a/src/libsystemd-basic/include/systemd-basic/log.h
+++ b/src/libsystemd-basic/include/systemd-basic/log.h
@@ -27,9 +27,8 @@
#include <sys/socket.h>
#include <syslog.h>
-#include <systemd/sd-id128.h>
-
#include "macro.h"
+#include "sd-id128-static.h"
typedef enum LogTarget{
LOG_TARGET_CONSOLE,
diff --git a/src/libsystemd-basic/include/systemd-basic/sd-id128-static.h b/src/libsystemd-basic/include/systemd-basic/sd-id128-static.h
new file mode 120000
index 0000000000..7cbc65a7c2
--- /dev/null
+++ b/src/libsystemd-basic/include/systemd-basic/sd-id128-static.h
@@ -0,0 +1 @@
+../../../libsystemd/include/systemd/sd-id128-static.h \ No newline at end of file
diff --git a/src/libsystemd-basic/include/systemd-basic/sd-messages.h b/src/libsystemd-basic/include/systemd-basic/sd-messages.h
new file mode 120000
index 0000000000..a1ffa23ad0
--- /dev/null
+++ b/src/libsystemd-basic/include/systemd-basic/sd-messages.h
@@ -0,0 +1 @@
+../../../libsystemd/include/systemd/sd-messages.h \ No newline at end of file
diff --git a/src/libsystemd-basic/src/log.c b/src/libsystemd-basic/src/log.c
index 878594299e..406dbaca14 100644
--- a/src/libsystemd-basic/src/log.c
+++ b/src/libsystemd-basic/src/log.c
@@ -33,8 +33,6 @@
#include <time.h>
#include <unistd.h>
-#include <systemd/sd-messages.h>
-
#include "systemd-basic/alloc-util.h"
#include "systemd-basic/fd-util.h"
#include "systemd-basic/formats-util.h"
@@ -45,6 +43,7 @@
#include "systemd-basic/parse-util.h"
#include "systemd-basic/proc-cmdline.h"
#include "systemd-basic/process-util.h"
+#include "systemd-basic/sd-messages.h"
#include "systemd-basic/signal-util.h"
#include "systemd-basic/socket-util.h"
#include "systemd-basic/stdio-util.h"