summaryrefslogtreecommitdiff
path: root/inputdev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'inputdev.cc')
-rw-r--r--inputdev.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/inputdev.cc b/inputdev.cc
index e31fb8a..5774bd6 100644
--- a/inputdev.cc
+++ b/inputdev.cc
@@ -665,6 +665,8 @@ err:
return false;
}
+#ifdef VDR_USE_SYSTEMD
+
#include <systemd/sd-daemon.h>
bool cInputDeviceController::open_udev_socket(unsigned int systemd_idx)
{
@@ -685,6 +687,8 @@ bool cInputDeviceController::open_udev_socket(unsigned int systemd_idx)
return is_valid;
}
+#endif
+
void cInputDeviceController::cleanup_devices(void)
{
dev_mutex_.Lock();