Allow to remove systemd library
[src/app-framework-binder.git] / src / systemd.h
index d9efa35..0fadfa7 100644 (file)
@@ -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