aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 17:26:12 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 17:26:12 +0100
commit77d3643036573ad55cdfc45ed197996d7a5c28d2 (patch)
tree2e52ce2bf1aa5bcbbda94652c325b9bf20adcd98 /src/decoder_thread.c
parent599d5820bce424625e54e2486191437a012ff1dc (diff)
downloadmpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.tar.gz
mpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.tar.xz
mpd-77d3643036573ad55cdfc45ed197996d7a5c28d2.zip
ls: include cleanup
Don't include headers which are not used. Fix some includes in decoder_thread.c.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index 3baa228e3..e6e521764 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -20,6 +20,7 @@
#include "decoder_thread.h"
#include "decoder_control.h"
#include "decoder_internal.h"
+#include "decoder_list.h"
#include "player_control.h"
#include "pipe.h"
#include "song.h"
@@ -30,6 +31,8 @@
#include <glib.h>
+#include <unistd.h>
+
static bool
decoder_stream_decode(const struct decoder_plugin *plugin,
struct decoder *decoder,