aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/_ogg_common.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-01-26 22:17:09 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-26 22:17:09 +0000
commite5a7c14227a2ca69e0e07ac9dc62d6e31f16121a (patch)
tree3a90c06682a7ec45d4466ea567becfa8619b2a8e /src/inputPlugins/_ogg_common.h
parent8fe23fedd25c64a16acb2a95f3cd4b5eaee844ee (diff)
downloadmpd-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.h')
-rw-r--r--src/inputPlugins/_ogg_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inputPlugins/_ogg_common.h b/src/inputPlugins/_ogg_common.h
index 5821e6641..3e997e95b 100644
--- a/src/inputPlugins/_ogg_common.h
+++ b/src/inputPlugins/_ogg_common.h
@@ -24,7 +24,8 @@
#include "../inputPlugin.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)
typedef enum _ogg_stream_type { VORBIS, FLAC } ogg_stream_type;