From 3b0fea5fae8ce52d2d4aa9ae7accc1f7f33592e1 Mon Sep 17 00:00:00 2001 From: Gaetan Bisson Date: Wed, 27 Nov 2013 08:24:34 +0100 Subject: input/cdio_paranoia: support libcdio-paranoia 0.90 --- NEWS | 2 ++ configure.ac | 1 + src/input/CdioParanoiaInputPlugin.cxx | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/NEWS b/NEWS index b48badb56..91803bd8a 100644 --- a/NEWS +++ b/NEWS @@ -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 #include +#ifdef HAVE_CDIO_PARANOIA_PARANOIA_H +#include +#else #include +#endif + #include struct CdioParanoiaInputStream { -- cgit v1.2.3