aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Obergrusberger <tradiaz@yahoo.de>2006-08-04 14:52:07 +0000
committerAndreas Obergrusberger <tradiaz@yahoo.de>2006-08-04 14:52:07 +0000
commit4960a256350bd81697febfc36cff6bac8ec213d4 (patch)
treec89df7a9ebe3d38cc58cf3c0d64f366d4ba53e5d /src
parent25ad69ee7c66b623ac0e4f9cab114bd20afe52d6 (diff)
downloadmpd-4960a256350bd81697febfc36cff6bac8ec213d4.tar.gz
mpd-4960a256350bd81697febfc36cff6bac8ec213d4.tar.xz
mpd-4960a256350bd81697febfc36cff6bac8ec213d4.zip
only compile easy_download when lyrics screen is enabled
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4547 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src')
-rw-r--r--src/easy_download.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/easy_download.c b/src/easy_download.c
index e28541747..3404e9c5c 100644
--- a/src/easy_download.c
+++ b/src/easy_download.c
@@ -15,11 +15,16 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
+#include "ncmpc.h"
+
+#ifdef ENABLE_LYRICS_SCREEN
+
#include <curl/curl.h>
#include "easy_download.h"
@@ -80,3 +85,5 @@ void easy_download_clean(easy_download_struct *dld)
dld->size = 0;
dld->max_size = -1;
}
+
+#endif \ No newline at end of file