From fa0aa91bf9e412e121d538632cbce3cce08ea0e0 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Sat, 25 Oct 2014 23:49:29 +0200
Subject: [PATCH] SongSticker, playlist/soundcloud: add missing stdlib.h
 include

For free().
---
 src/playlist/plugins/SoundCloudPlaylistPlugin.cxx | 1 +
 src/sticker/SongSticker.cxx                       | 1 +
 2 files changed, 2 insertions(+)

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)