summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-02-18 02:48:00 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-02-18 02:48:00 +0100
commit4ef4f179eb39a8f49fac661763238da978255525 (patch)
tree764ea90007182eac2d0b7e9e4161341b575d98c7
parent583884cc5311a448d31968bc62cc886be81aa392 (diff)
downloadakode-4ef4f179eb39a8f49fac661763238da978255525.tar.gz
akode-4ef4f179eb39a8f49fac661763238da978255525.zip
Fix build with gcc 4.7
[taken from Ubuntu patches]
-rw-r--r--akode/lib/magic.cpp1
-rw-r--r--akode/lib/player.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/akode/lib/magic.cpp b/akode/lib/magic.cpp
index 072f3bf..c16ba3e 100644
--- a/akode/lib/magic.cpp
+++ b/akode/lib/magic.cpp
@@ -18,6 +18,7 @@
Boston, MA 02110-1301, USA.
*/
+#include <cstring>
#include "akodelib.h"
#include "magic.h"
#include "file.h"
diff --git a/akode/lib/player.cpp b/akode/lib/player.cpp
index c785569..fe60db5 100644
--- a/akode/lib/player.cpp
+++ b/akode/lib/player.cpp
@@ -18,6 +18,8 @@
Boston, MA 02110-1301, USA.
*/
+#include <cstring>
+
#include <pthread.h>
#include <semaphore.h>
#include <assert.h>