diff options
author | Gaetan Bisson <bisson@archlinux.org> | 2013-11-27 08:24:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-27 08:25:17 +0100 |
commit | 3b0fea5fae8ce52d2d4aa9ae7accc1f7f33592e1 (patch) | |
tree | d696bd25ef159a9bc3fbc301090b4ae8c804428e | |
parent | 443516cdda2cf6ba5f1e98546ab22ff2523da243 (diff) | |
download | mpd-3b0fea5fae8ce52d2d4aa9ae7accc1f7f33592e1.tar.gz mpd-3b0fea5fae8ce52d2d4aa9ae7accc1f7f33592e1.tar.xz mpd-3b0fea5fae8ce52d2d4aa9ae7accc1f7f33592e1.zip |
input/cdio_paranoia: support libcdio-paranoia 0.90
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/input/CdioParanoiaInputPlugin.cxx | 5 |
3 files changed, 8 insertions, 0 deletions
@@ -1,4 +1,6 @@ ver 0.18.6 (not yet released) +* input + - cdio_paranoia: support libcdio-paranoia 0.90 ver 0.18.5 (2013/11/23) * configuration diff --git a/configure.ac b/configure.ac index 8d4f459e1..a7c18f784 100644 --- a/configure.ac +++ b/configure.ac @@ -749,6 +749,7 @@ MPD_AUTO_PKG(cdio_paranoia, CDIO_PARANOIA, [libcdio_paranoia], if test x$enable_cdio_paranoia = xyes; then AC_DEFINE([ENABLE_CDIO_PARANOIA], 1, [Define to enable libcdio_paranoia support]) + AC_CHECK_HEADERS(cdio/paranoia/paranoia.h) fi AM_CONDITIONAL(ENABLE_CDIO_PARANOIA, test x$enable_cdio_paranoia = xyes) diff --git a/src/input/CdioParanoiaInputPlugin.cxx b/src/input/CdioParanoiaInputPlugin.cxx index cc366bff5..3978ab9c5 100644 --- a/src/input/CdioParanoiaInputPlugin.cxx +++ b/src/input/CdioParanoiaInputPlugin.cxx @@ -41,7 +41,12 @@ #include <glib.h> #include <assert.h> +#ifdef HAVE_CDIO_PARANOIA_PARANOIA_H +#include <cdio/parannoia/paranoia.h> +#else #include <cdio/paranoia.h> +#endif + #include <cdio/cd_types.h> struct CdioParanoiaInputStream { |