diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-26 22:17:09 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-26 22:17:09 +0000 |
commit | e5a7c14227a2ca69e0e07ac9dc62d6e31f16121a (patch) | |
tree | 3a90c06682a7ec45d4466ea567becfa8619b2a8e /src/inputPlugins/_ogg_common.c | |
parent | 8fe23fedd25c64a16acb2a95f3cd4b5eaee844ee (diff) | |
download | mpd-e5a7c14227a2ca69e0e07ac9dc62d6e31f16121a.tar.gz mpd-e5a7c14227a2ca69e0e07ac9dc62d6e31f16121a.tar.xz mpd-e5a7c14227a2ca69e0e07ac9dc62d6e31f16121a.zip |
fix builds that only have FLAC >= 1.1.3 but not Ogg-Vorbis
r7108 in trunk
git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.13.0-fixes@7164 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/_ogg_common.c')
-rw-r--r-- | src/inputPlugins/_ogg_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inputPlugins/_ogg_common.c b/src/inputPlugins/_ogg_common.c index 09fc60c5a..32df2eb9a 100644 --- a/src/inputPlugins/_ogg_common.c +++ b/src/inputPlugins/_ogg_common.c @@ -24,7 +24,8 @@ #include "_flac_common.h" #include "_ogg_common.h" -#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) +#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) || \ + (defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7) #include "../utils.h" |