summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
}