tests: Fix building of unittest/stattest.cc.
authorGabe Black <gabe.black@gmail.com>
Thu, 21 Jan 2021 12:48:58 +0000 (04:48 -0800)
committerGabe Black <gabe.black@gmail.com>
Sat, 23 Jan 2021 01:23:11 +0000 (01:23 +0000)
This file wasn't including eventq.hh which it happened to be getting
transitively before.

Change-Id: I8ce5572651ddd59160d84794bf5efc90c82d83e6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39564
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/unittest/stattest.cc

index 40307357c520d376975146a98a2f4e304b80cc9c..e58a5a678027f66adfb6d0265aab042383c6144b 100644 (file)
@@ -37,6 +37,7 @@
 #include "base/statistics.hh"
 #include "base/types.hh"
 #include "sim/core.hh"
+#include "sim/eventq.hh"
 #include "sim/init.hh"
 #include "sim/stat_control.hh"