summaryrefslogtreecommitdiffstats
path: root/src/utils-systemd.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-12 22:39:51 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-24 17:44:57 +0100
commite90179e12ad1773be772fc497e785c26cef6a8b8 (patch)
tree566783fb440400986747973891e828f8b98b5930 /src/utils-systemd.c
parent1a67d1b401cbf132687b5aaea52ca7875edaa1f9 (diff)
Restore compilation of native-sdk
Change-Id: I3855854407ad47c2b9a2288b8425513de5ae94d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/utils-systemd.c')
-rw-r--r--src/utils-systemd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils-systemd.c b/src/utils-systemd.c
index d4d6929..1e77e27 100644
--- a/src/utils-systemd.c
+++ b/src/utils-systemd.c
@@ -34,6 +34,7 @@
struct sd_bus;
struct sd_bus_message;
typedef struct { const char *name; const char *message; } sd_bus_error;
+# define sd_bus_unref(...) ((void)0)
# define sd_bus_default_user(p) ((*(p)=NULL),(-ENOTSUP))
# define sd_bus_default_system(p) ((*(p)=NULL),(-ENOTSUP))
# define sd_bus_call_method(...) (-ENOTSUP)