aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_flac_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/_flac_common.c')
-rw-r--r--src/decoder/_flac_common.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c
index 5fea91734..e7aff545d 100644
--- a/src/decoder/_flac_common.c
+++ b/src/decoder/_flac_common.c
@@ -21,6 +21,8 @@
#include "_flac_common.h"
+#include <glib.h>
+
#include <FLAC/format.h>
#include <FLAC/metadata.h>
@@ -169,7 +171,7 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * block,
void flac_error_common_cb(const char *plugin,
const FLAC__StreamDecoderErrorStatus status,
- mpd_unused FlacData * data)
+ G_GNUC_UNUSED FlacData * data)
{
if (decoder_get_command(data->decoder) == DECODE_COMMAND_STOP)
return;