From 164d9bd73282907ded465b8b45503dc41c007ee8 Mon Sep 17 00:00:00 2001 From: Christian Menard Date: Thu, 9 Feb 2017 19:11:29 -0500 Subject: misc: fix includes in util/systemc This fixes compilation errors with clang on OS X. Reviewed at http://reviews.gem5.org/r/3807/ Signed-off-by: Jason Lowe-Power --- util/systemc/sc_module.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/systemc/sc_module.cc b/util/systemc/sc_module.cc index 40f79bc85..3f890009d 100644 --- a/util/systemc/sc_module.cc +++ b/util/systemc/sc_module.cc @@ -57,15 +57,16 @@ * most one Gem5Module instantiated in any simulation. */ +#include "base/misc.hh" #include "base/pollevent.hh" #include "base/trace.hh" #include "debug/Event.hh" +#include "sc_module.hh" #include "sim/async.hh" #include "sim/core.hh" #include "sim/eventq.hh" #include "sim/sim_exit.hh" #include "sim/stat_control.hh" -#include "sc_module.hh" namespace Gem5SystemC { -- cgit v1.2.3