Commit efc3a69d authored by Max Kellermann's avatar Max Kellermann

Stats: don't include glib.h in header

Use forward declaration instead.
parent ec883e19
...@@ -47,6 +47,8 @@ ...@@ -47,6 +47,8 @@
#include "StickerDatabase.hxx" #include "StickerDatabase.hxx"
#endif #endif
#include <glib.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"
#include <glib.h>
struct stats stats; struct stats stats;
void stats_global_init(void) void stats_global_init(void)
......
...@@ -20,9 +20,8 @@ ...@@ -20,9 +20,8 @@
#ifndef MPD_STATS_HXX #ifndef MPD_STATS_HXX
#define MPD_STATS_HXX #define MPD_STATS_HXX
#include <glib.h>
class Client; class Client;
typedef struct _GTimer GTimer;
struct stats { struct stats {
GTimer *timer; GTimer *timer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment