summaryrefslogtreecommitdiff
path: root/src/shared/bus-errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/bus-errors.h')
-rw-r--r--src/shared/bus-errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/bus-errors.h b/src/shared/bus-errors.h
index 1bf19c3f39..e842f850c1 100644
--- a/src/shared/bus-errors.h
+++ b/src/shared/bus-errors.h
@@ -22,6 +22,7 @@
***/
#include "sd-bus.h"
+#include "bus-error.h"
#define BUS_ERROR_NO_SUCH_UNIT "org.freedesktop.systemd1.NoSuchUnit"
#define BUS_ERROR_NO_UNIT_FOR_PID "org.freedesktop.systemd1.NoUnitForPID"
@@ -70,4 +71,4 @@
#define BUS_ERROR_ABORTED "org.freedesktop.resolve1.Aborted"
#define _BUS_ERROR_DNS "org.freedesktop.resolve1.DnsError."
-SD_BUS_ERROR_MAPPING_USE(systemd_shared);
+BUS_ERROR_MAP_ELF_USE(shared_errors);