aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderError.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DecoderError.hxx')
-rw-r--r--src/DecoderError.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DecoderError.hxx b/src/DecoderError.hxx
index 14810dec7..94b5a964b 100644
--- a/src/DecoderError.hxx
+++ b/src/DecoderError.hxx
@@ -20,12 +20,14 @@
#ifndef MPD_DECODER_ERROR_HXX
#define MPD_DECODER_ERROR_HXX
+#include "gcc.h"
+
#include <glib.h>
/**
* Quark for GError.domain.
*/
-G_GNUC_CONST
+gcc_pure
static inline GQuark
decoder_quark(void)
{