summaryrefslogtreecommitdiffstats
path: root/mpd-notification.h
diff options
context:
space:
mode:
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>