aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-25 23:49:29 +0200
committerMax Kellermann <max@duempel.org>2014-10-25 23:49:29 +0200
commitfa0aa91bf9e412e121d538632cbce3cce08ea0e0 (patch)
treeffb10f7c40b2510d57629650cd99b24dd4c18861 /src
parent3e641e214734885b01cef2d4abe80d63048c66a2 (diff)
downloadmpd-fa0aa91bf9e412e121d538632cbce3cce08ea0e0.tar.gz
mpd-fa0aa91bf9e412e121d538632cbce3cce08ea0e0.tar.xz
mpd-fa0aa91bf9e412e121d538632cbce3cce08ea0e0.zip
SongSticker, playlist/soundcloud: add missing stdlib.h include
For free().
Diffstat (limited to 'src')
-rw-r--r--src/playlist/plugins/SoundCloudPlaylistPlugin.cxx1
-rw-r--r--src/sticker/SongSticker.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx
index 8b51e40f3..3fe8d57b1 100644
--- a/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx
+++ b/src/playlist/plugins/SoundCloudPlaylistPlugin.cxx
@@ -35,6 +35,7 @@
#include <string>
#include <string.h>
+#include <stdlib.h>
static struct {
std::string apikey;
diff --git a/src/sticker/SongSticker.cxx b/src/sticker/SongSticker.cxx
index c052633b8..b0b74b1a6 100644
--- a/src/sticker/SongSticker.cxx
+++ b/src/sticker/SongSticker.cxx
@@ -27,6 +27,7 @@
#include <assert.h>
#include <string.h>
+#include <stdlib.h>
std::string
sticker_song_get_value(const LightSong &song, const char *name)