summaryrefslogtreecommitdiffstats
path: root/mpd-notification.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:30:50 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-01-05 16:30:50 +0100
commitf58f74d21a0555574158ab5ee8b331a4a38d36d5 (patch)
tree6b8030da0d47d782e1740f72cdae8b93209f394a /mpd-notification.h
parentd5d5a4424fb0682ccf4ba4d0463755470dde6224 (diff)
downloadmpd-notification-f58f74d21a0555574158ab5ee8b331a4a38d36d5.tar.gz
mpd-notification-f58f74d21a0555574158ab5ee8b331a4a38d36d5.tar.zst
make systemd optional
Diffstat (limited to 'mpd-notification.h')
-rw-r--r--mpd-notification.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpd-notification.h b/mpd-notification.h
index 7927a5b..8e70abb 100644
--- a/mpd-notification.h
+++ b/mpd-notification.h
@@ -19,7 +19,9 @@
#include <unistd.h>
/* systemd headers */
+#ifdef HAVE_SYSTEMD
#include <systemd/sd-daemon.h>
+#endif
#include <iniparser.h>
#include <libnotify/notify.h>