summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2009-02-20 20:12:35 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2009-02-20 20:12:35 +0100
commitb056fb0968a13844a4897a3cdf2126434ed62cdc (patch)
tree6ab740bfe9636ab2f34d3d5cc1618e7a9cad2234 /src
parent2856d5cd782ae9d1832a6274ca88c2bb053bf105 (diff)
fix compilation --without-curl
Diffstat (limited to 'src')
-rw-r--r--src/browser.cpp1
-rw-r--r--src/helpers.cpp1
-rw-r--r--src/lyrics.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/src/browser.cpp b/src/browser.cpp
index 01467921..02a54d09 100644
--- a/src/browser.cpp
+++ b/src/browser.cpp
@@ -20,6 +20,7 @@
#include <dirent.h>
#include <sys/stat.h>
+#include <cstring>
#include <algorithm>
#include "browser.h"
diff --git a/src/helpers.cpp b/src/helpers.cpp
index e41c3693..d2818740 100644
--- a/src/helpers.cpp
+++ b/src/helpers.cpp
@@ -18,6 +18,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#include <cstring>
#include <algorithm>
#include <iostream>
diff --git a/src/lyrics.cpp b/src/lyrics.cpp
index f1fee09f..7c2ff1ea 100644
--- a/src/lyrics.cpp
+++ b/src/lyrics.cpp
@@ -132,7 +132,7 @@ void Lyrics::SwitchTo()
pthread_create(&Downloader, NULL, Get, &itsSong);
}
# else
- Get(s);
+ Get(&itsSong);
w->Flush();
# endif
}