aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db_error.h')
-rw-r--r--src/db_error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/db_error.h b/src/db_error.h
index d3be582cf..05946aaf1 100644
--- a/src/db_error.h
+++ b/src/db_error.h
@@ -20,6 +20,8 @@
#ifndef MPD_DB_ERROR_H
#define MPD_DB_ERROR_H
+#include "gcc.h"
+
#include <glib.h>
enum db_error {
@@ -35,7 +37,7 @@ enum db_error {
/**
* Quark for GError.domain; the code is an enum #db_error.
*/
-G_GNUC_CONST
+gcc_const
static inline GQuark
db_quark(void)
{