fix compilation --without-curl

This commit is contained in:
Andrzej Rybczak
2009-02-13 17:39:53 +01:00
parent 8ba72bc78a
commit 08e162f6ac
4 changed files with 36 additions and 31 deletions

View File

@@ -23,20 +23,22 @@
#include "ncmpcpp.h"
#ifdef HAVE_CURL_CURL_H
# include <pthread.h>
# include "curl/curl.h"
namespace Lyrics
{
void Init();
void Resize();
void Update();
bool Ready();
void Get();
# ifdef HAVE_CURL_CURL_H
bool Ready();
# endif // HAVE_CURL_CURL_H
}
#ifdef HAVE_CURL_CURL_H
# include <pthread.h>
# include "curl/curl.h"
struct LyricsPlugin
{
const char *url;
@@ -47,7 +49,7 @@ struct LyricsPlugin
const char *GetLyricsPluginName(int);
#endif
#endif // HAVE_CURL_CURL_H
#endif