aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-11 08:17:29 +0100
committerMax Kellermann <max@duempel.org>2013-11-11 08:20:09 +0100
commit287c70e3611022ff40c673feeef71eecd79beea8 (patch)
tree1e487a32f0b702b2fad93c35670947b649e16ae9
parentf6b44af9988d0287b6f4974ba9daab57f6298ed2 (diff)
downloadmpd-287c70e3611022ff40c673feeef71eecd79beea8.tar.gz
mpd-287c70e3611022ff40c673feeef71eecd79beea8.tar.xz
mpd-287c70e3611022ff40c673feeef71eecd79beea8.zip
filter/route, ...: add missing stdlib.h includes
-rw-r--r--NEWS1
-rw-r--r--src/SongSave.cxx1
-rw-r--r--src/encoder/OpusEncoderPlugin.cxx1
-rw-r--r--src/filter/RouteFilterPlugin.cxx1
-rw-r--r--test/run_convert.cxx1
5 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 47fda34cc..895d00bf5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
ver 0.18.4 (not yet released)
* decoder
- dsdiff: fix byte order bug
+* fix build failures due to missing includes
ver 0.18.3 (2013/11/08)
* fix stuck MPD after song change (0.18.2 regression)
diff --git a/src/SongSave.cxx b/src/SongSave.cxx
index ae055729d..63e279a16 100644
--- a/src/SongSave.cxx
+++ b/src/SongSave.cxx
@@ -30,6 +30,7 @@
#include "util/Domain.hxx"
#include <string.h>
+#include <stdlib.h>
#define SONG_MTIME "mtime"
#define SONG_END "song_end"
diff --git a/src/encoder/OpusEncoderPlugin.cxx b/src/encoder/OpusEncoderPlugin.cxx
index 29f7df726..243dc0836 100644
--- a/src/encoder/OpusEncoderPlugin.cxx
+++ b/src/encoder/OpusEncoderPlugin.cxx
@@ -34,6 +34,7 @@
#include <glib.h>
#include <assert.h>
+#include <stdlib.h>
struct opus_encoder {
/** the base class */
diff --git a/src/filter/RouteFilterPlugin.cxx b/src/filter/RouteFilterPlugin.cxx
index c0b0be242..d9042c21f 100644
--- a/src/filter/RouteFilterPlugin.cxx
+++ b/src/filter/RouteFilterPlugin.cxx
@@ -56,6 +56,7 @@
#include <assert.h>
#include <string.h>
#include <stdint.h>
+#include <stdlib.h>
class RouteFilter final : public Filter {
/**
diff --git a/test/run_convert.cxx b/test/run_convert.cxx
index ca55bcc0b..0e873a3b3 100644
--- a/test/run_convert.cxx
+++ b/test/run_convert.cxx
@@ -36,6 +36,7 @@
#include <assert.h>
#include <stddef.h>
+#include <stdlib.h>
#include <unistd.h>
static void