aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-07-03 17:35:18 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-07-03 17:35:18 +0200
commit360535171d457506deaad4210251939c08674a76 (patch)
treef35f356ee3e6000d59b0c9c687a32222fb1dc6db /mpd-notification.h
parent02a7441b621db03161061dbfd5a93f1a1adc7e75 (diff)
downloadmpd-notification-360535171d457506deaad4210251939c08674a76.tar.gz
mpd-notification-360535171d457506deaad4210251939c08674a76.tar.zst
make libav (and retrieving cover from media file) 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 c991fd1..159aef1 100644
--- a/mpd-notification.h
+++ b/mpd-notification.h
@@ -14,8 +14,10 @@
#include <libnotify/notify.h>
+#ifdef HAVE_LIBAV
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
+#endif
#include <stdio.h>
#include <unistd.h>