aboutsummaryrefslogtreecommitdiffstats
path: root/udev-block-notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'udev-block-notify.h')
-rw-r--r--udev-block-notify.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/udev-block-notify.h b/udev-block-notify.h
index df34887..d4573b3 100644
--- a/udev-block-notify.h
+++ b/udev-block-notify.h
@@ -17,6 +17,11 @@
#include <unistd.h>
#include <string.h>
+/* systemd headers */
+#ifdef HAVE_SYSTEMD
+#include <systemd/sd-daemon.h>
+#endif
+
#include <libnotify/notify.h>
#include <libudev.h>