summaryrefslogtreecommitdiff
path: root/base/statistics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/statistics.cc')
-rw-r--r--base/statistics.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc
index 4368f1bcf..eaefd5f15 100644
--- a/base/statistics.cc
+++ b/base/statistics.cc
@@ -42,6 +42,7 @@
#include "base/time.hh"
#include "base/trace.hh"
#include "base/stats/statdb.hh"
+#include "config/stats_binning.hh"
using namespace std;
@@ -285,7 +286,7 @@ check()
Database::stats().sort(StatData::less);
-#if defined(STATS_BINNING)
+#if STATS_BINNING
if (MainBin::curBin() == NULL) {
static MainBin mainBin("main bin");
mainBin.activate();