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 @@
#include "StickerDatabase.hxx"
#endif
#include <glib.h>
#include <assert.h>
#include <string.h>
......
......@@ -28,6 +28,8 @@
#include "util/Error.hxx"
#include "Log.hxx"
#include <glib.h>
struct stats stats;
void stats_global_init(void)
......
......@@ -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;
......
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