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"
|
#include "StickerDatabase.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -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 @@
|
|||||||
#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;
|
||||||
|
Loading…
Reference in New Issue
Block a user