summaryrefslogtreecommitdiff
path: root/base/statistics.hh
diff options
context:
space:
mode:
Diffstat (limited to 'base/statistics.hh')
-rw-r--r--base/statistics.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/statistics.hh b/base/statistics.hh
index c4acd9c23..c46744cac 100644
--- a/base/statistics.hh
+++ b/base/statistics.hh
@@ -62,6 +62,7 @@
#include "base/stats/flags.hh"
#include "base/stats/visit.hh"
#include "base/stats/types.hh"
+#include "config/stats_binning.hh"
#include "sim/host.hh"
class Callback;
@@ -2184,7 +2185,7 @@ class SumNode : public Node
* binned. If the typedef is NoBin, nothing is binned. If it is
* MainBin, then all stats are binned under that Bin.
*/
-#if defined(STATS_BINNING)
+#if STATS_BINNING
typedef MainBin DefaultBin;
#else
typedef NoBin DefaultBin;