From caac72689159c4d39da18ba79d8995955fedd915 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 28 Aug 2009 01:50:40 +0200 Subject: [PATCH] fix compilation --without-curl --- src/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/settings.cpp b/src/settings.cpp index 83b44a5f..9639b534 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -805,6 +805,7 @@ void ReadConfiguration(ncmpcpp_config &conf) { conf.regex_type = REG_EXTENDED * (v != "basic"); } +# ifdef HAVE_CURL_CURL_H else if (cl.find("lyrics_database") != std::string::npos) { if (!v.empty()) @@ -813,6 +814,7 @@ void ReadConfiguration(ncmpcpp_config &conf) conf.lyrics_db = n < Lyrics::DBs ? n : 0; } } +# endif // HAVE_CURL_CURL_H else if (cl.find("lines_scrolled") != std::string::npos) { if (!v.empty())