aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-15 17:48:37 +0100
committerMax Kellermann <max@duempel.org>2009-02-15 17:48:37 +0100
commita28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea (patch)
treea1c05d48059f9dd3e490f78ff3dc0ff18399b952 /src/song.c
parent92c203d7056df229d5289e6c7d1f1000dbc7ce95 (diff)
downloadmpd-a28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea.tar.gz
mpd-a28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea.tar.xz
mpd-a28287073b6ced1ab2b3c7dcc0a1168d9e7ac7ea.zip
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.
Diffstat (limited to '')
-rw-r--r--src/song.c4
1 files changed, 3 insertions, 1 deletions
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 <glib.h>
@@ -30,6 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <string.h>
static struct song *
song_alloc(const char *url, struct directory *parent)