aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlugin.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabasePlugin.hxx')
-rw-r--r--src/DatabasePlugin.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx
index 45a8c55bf..71ad88ac5 100644
--- a/src/DatabasePlugin.hxx
+++ b/src/DatabasePlugin.hxx
@@ -27,10 +27,7 @@
#define MPD_DATABASE_PLUGIN_HXX
#include "DatabaseVisitor.hxx"
-
-#include <glib.h>
-#include <assert.h>
-#include <stdbool.h>
+#include "gcc.h"
struct config_param;
struct db_selection;
@@ -46,7 +43,7 @@ public:
/**
* Open the database. Read it into memory if applicable.
*/
- virtual bool Open(G_GNUC_UNUSED GError **error_r) {
+ virtual bool Open(gcc_unused GError **error_r) {
return true;
}