Code

only compile easy_download when lyrics screen is enabled
authorAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 4 Aug 2006 14:52:07 +0000 (14:52 +0000)
committerAndreas Obergrusberger <tradiaz@yahoo.de>
Fri, 4 Aug 2006 14:52:07 +0000 (14:52 +0000)
git-svn-id: https://svn.musicpd.org/ncmpc/branches/tradiaz@4547 09075e82-0dd4-0310-85a5-a0d7c8717e4f

src/easy_download.c

index e28541747a1b6eba933fecef0551e630e66cbc32..3404e9c5ca0aa6621ee85c72d7516bd40fecede7 100644 (file)
  *  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