diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 1ad64e9859..7115b88f30 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -81,9 +81,8 @@ #include "base/intmath.hh" #include "base/str.hh" #include "base/types.hh" - -/** The current simulated tick. */ -extern Tick curTick(); +// For curTick(). +#include "sim/core.hh" /* A namespace for all of the Statistics */ namespace Stats {