aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/player_thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 3c3b93a83..1595c0af8 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -29,6 +29,8 @@
#include "pipe.h"
#include "idle.h"
+#include <glib.h>
+
enum xfade_state {
XFADE_DISABLED = -1,
XFADE_UNKNOWN = 0,
@@ -490,7 +492,7 @@ static void do_play(void)
player_stop_decoder();
}
-static void * player_task(mpd_unused void *arg)
+static void * player_task(G_GNUC_UNUSED void *arg)
{
while (1) {
switch (pc.command) {