diff --git a/src/OtherCommands.cxx b/src/OtherCommands.cxx index e22c8d093..52899d184 100644 --- a/src/OtherCommands.cxx +++ b/src/OtherCommands.cxx @@ -47,6 +47,8 @@ #include "StickerDatabase.hxx" #endif +#include + #include #include diff --git a/src/Stats.cxx b/src/Stats.cxx index 6de3714fb..463937b48 100644 --- a/src/Stats.cxx +++ b/src/Stats.cxx @@ -28,6 +28,8 @@ #include "util/Error.hxx" #include "Log.hxx" +#include + struct stats stats; void stats_global_init(void) diff --git a/src/Stats.hxx b/src/Stats.hxx index 384179242..1827b8847 100644 --- a/src/Stats.hxx +++ b/src/Stats.hxx @@ -20,9 +20,8 @@ #ifndef MPD_STATS_HXX #define MPD_STATS_HXX -#include - class Client; +typedef struct _GTimer GTimer; struct stats { GTimer *timer;