Stats: don't include glib.h in header

Use forward declaration instead.
This commit is contained in:
Max Kellermann 2013-10-02 12:16:52 +02:00
parent ec883e1901
commit efc3a69dbf
3 changed files with 5 additions and 2 deletions

View File

@ -47,6 +47,8 @@
#include "StickerDatabase.hxx"
#endif
#include <glib.h>
#include <assert.h>
#include <string.h>

View File

@ -28,6 +28,8 @@
#include "util/Error.hxx"
#include "Log.hxx"
#include <glib.h>
struct stats stats;
void stats_global_init(void)

View File

@ -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;