aboutsummaryrefslogtreecommitdiffstats
path: root/udev-block-notify.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:54:33 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:54:33 +0100
commitdd1cf4c39cfadc74eb1f871c2f2256f4e5c764f7 (patch)
tree1d0778a8a9e61bc9117dc1c6b2b7a91bd1fc94dc /udev-block-notify.h
parent61c3a6fac48056193e9a332e6144d6f2132f9dde (diff)
downloadudev-block-notify-dd1cf4c39cfadc74eb1f871c2f2256f4e5c764f7.tar.gz
udev-block-notify-dd1cf4c39cfadc74eb1f871c2f2256f4e5c764f7.tar.zst
use systemd service manager notification
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>