summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-02-18 02:43:07 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-02-18 02:43:21 +0100
commit48eea5b2cf8afda3e351f43b765fdc519a58951b (patch)
tree338bac0693571fc80ad5e9fc8699d0adcc446fdc
parent71bae3a249457861e2dfd977293daecf8fab66eb (diff)
downloadakode-48eea5b2cf8afda3e351f43b765fdc519a58951b.tar.gz
akode-48eea5b2cf8afda3e351f43b765fdc519a58951b.zip
Fix build with gcc 4.3
[taken from Debian patches]
-rw-r--r--akode/akodeplay/akodeplay.cpp2
-rw-r--r--akode/lib/auto_sink.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/akode/akodeplay/akodeplay.cpp b/akode/akodeplay/akodeplay.cpp
index 321f189..c10a69e 100644
--- a/akode/akodeplay/akodeplay.cpp
+++ b/akode/akodeplay/akodeplay.cpp
@@ -25,6 +25,8 @@
#include "../lib/sink.h"
#include "../lib/decoder.h"
+#include <cstdlib>
+
#ifdef HAVE_GNU_GETOPT
#include <getopt.h>
#else
diff --git a/akode/lib/auto_sink.cpp b/akode/lib/auto_sink.cpp
index 7d120f9..bcc1250 100644
--- a/akode/lib/auto_sink.cpp
+++ b/akode/lib/auto_sink.cpp
@@ -21,6 +21,7 @@
#include "audioframe.h"
#include "auto_sink.h"
+#include <cstdlib>
#include <iostream>
namespace aKode {