From 32e03ad8a3842364037053c52888a3a57d03a4da Mon Sep 17 00:00:00 2001 From: David Sansome Date: Fri, 25 Mar 2011 19:59:09 +0000 Subject: [PATCH] Fix the mpris1 when last.fm is disabled. Thanks Nikoli --- tests/mpris1_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/mpris1_test.cpp b/tests/mpris1_test.cpp index 511af1d1f..a940d13f1 100644 --- a/tests/mpris1_test.cpp +++ b/tests/mpris1_test.cpp @@ -20,8 +20,10 @@ #include "core/song.h" #include "playlist/playlistmanager.h" #include "playlist/playlistsequence.h" +#ifdef HAVE_LIBLASTFM #include "radio/fixlastfm.h" #include +#endif #include "gmock/gmock.h" #include "gtest/gtest.h"