Stats: don't include glib.h in header
Use forward declaration instead.
This commit is contained in:
parent
ec883e1901
commit
efc3a69dbf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user