From: Gabe Black Date: Thu, 21 Jan 2021 12:48:58 +0000 (-0800) Subject: tests: Fix building of unittest/stattest.cc. X-Git-Tag: develop-gem5-snapshot~251 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=998d5d86dd04bc7469accee0b772685ea2aae14e;p=gem5.git tests: Fix building of unittest/stattest.cc. 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 Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/unittest/stattest.cc b/src/unittest/stattest.cc index 40307357c..e58a5a678 100644 --- a/src/unittest/stattest.cc +++ b/src/unittest/stattest.cc @@ -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"