diff --git a/src/lib/xiph/VorbisComments.cxx b/src/lib/xiph/VorbisComments.cxx index a8929b5e2..95a04622e 100644 --- a/src/lib/xiph/VorbisComments.cxx +++ b/src/lib/xiph/VorbisComments.cxx @@ -29,6 +29,8 @@ #include "util/StringView.hxx" #include "config.h" +#ifdef ENABLE_VORBIS_DECODER + #ifndef HAVE_TREMOR #include #else @@ -63,6 +65,8 @@ VorbisCommentToReplayGain(ReplayGainInfo &rgi, return found; } +#endif /* ENABLE_VORBIS_DECODER */ + static void vorbis_scan_comment(StringView comment, TagHandler &handler) noexcept {