diff --git a/tests/song_test.cpp b/tests/song_test.cpp index aee32ffa7..d722d4799 100644 --- a/tests/song_test.cpp +++ b/tests/song_test.cpp @@ -18,8 +18,10 @@ #include "config.h" #include "core/encoding.h" #include "core/song.h" +#ifdef HAVE_LIBLASTFM #include "radio/fixlastfm.h" #include +#endif #include "gmock/gmock.h" #include "gtest/gtest.h"