summaryrefslogtreecommitdiff
path: root/base/stats/events.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/stats/events.cc')
-rw-r--r--base/stats/events.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/base/stats/events.cc b/base/stats/events.cc
index 8c3303a69..3191aec13 100644
--- a/base/stats/events.cc
+++ b/base/stats/events.cc
@@ -28,11 +28,12 @@
#include <vector>
-#ifdef USE_MYSQL
+#include "base/stats/events.hh"
+
+#if USE_MYSQL
#include "base/cprintf.hh"
#include "base/misc.hh"
#include "base/mysql.hh"
-#include "base/stats/events.hh"
#include "base/stats/mysql.hh"
#include "base/stats/mysql_run.hh"
#include "base/str.hh"
@@ -51,7 +52,7 @@ Tick EventStart = ULL(0x7fffffffffffffff);
ObjectMatch event_ignore;
-#ifdef USE_MYSQL
+#if USE_MYSQL
class InsertEvent
{
private: