aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongSticker.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongSticker.hxx')
-rw-r--r--src/SongSticker.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SongSticker.hxx b/src/SongSticker.hxx
index 0f3e0bf41..f3b818de4 100644
--- a/src/SongSticker.hxx
+++ b/src/SongSticker.hxx
@@ -20,6 +20,10 @@
#ifndef MPD_SONG_STICKER_HXX
#define MPD_SONG_STICKER_HXX
+#include "Compiler.h"
+
+#include <string>
+
struct Song;
struct Directory;
struct sticker;
@@ -28,7 +32,8 @@ struct sticker;
* Returns one value from a song's sticker record. The caller must
* free the return value with g_free().
*/
-char *
+gcc_pure
+std::string
sticker_song_get_value(const Song *song, const char *name);
/**