From a28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 15 Feb 2009 17:48:37 +0100 Subject: decoder_api: moved struct decoder_plugin to decoder_plugin.h The decoder_plugin struct is used by both the MPD core and the decoder plugin implementations. Move it to a shared header file, to minimize header dependencies. --- src/song.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/song.c') diff --git a/src/song.c b/src/song.c index 31632cff6..6ddf597b2 100644 --- a/src/song.c +++ b/src/song.c @@ -21,8 +21,9 @@ #include "directory.h" #include "mapper.h" #include "decoder_list.h" -#include "decoder_api.h" +#include "decoder_plugin.h" #include "tag_id3.h" +#include "tag.h" #include @@ -30,6 +31,7 @@ #include #include #include +#include static struct song * song_alloc(const char *url, struct directory *parent) -- cgit v1.2.3