aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd.h')
-rw-r--r--src/systemd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd.h b/src/systemd.h
index d9efa352..0fadfa7d 100644
--- a/src/systemd.h
+++ b/src/systemd.h
@@ -17,6 +17,8 @@
#pragma once
+#if WITH_SYSTEMD
+
struct sd_event;
struct sd_bus;
@@ -27,4 +29,4 @@ extern struct sd_bus *systemd_get_system_bus();
extern int systemd_fds_init();
extern int systemd_fds_for(const char *name);
-
+#endif