aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/OtherCommands.cxx2
-rw-r--r--src/Stats.cxx2
-rw-r--r--src/Stats.hxx3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx
index e22c8d093..52899d184 100644
--- a/src/OtherCommands.cxx
+++ b/src/OtherCommands.cxx
@@ -47,6 +47,8 @@
#include "StickerDatabase.hxx"
#endif
+#include <glib.h>
+
#include <assert.h>
#include <string.h>
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 6de3714fb..463937b48 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -28,6 +28,8 @@
#include "util/Error.hxx"
#include "Log.hxx"
+#include <glib.h>
+
struct stats stats;
void stats_global_init(void)
diff --git a/src/Stats.hxx b/src/Stats.hxx
index 384179242..1827b8847 100644
--- a/src/Stats.hxx
+++ b/src/Stats.hxx
@@ -20,9 +20,8 @@
#ifndef MPD_STATS_HXX
#define MPD_STATS_HXX
-#include <glib.h>
-
class Client;
+typedef struct _GTimer GTimer;
struct stats {
GTimer *timer;