changeset 2191b87e3b47 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2191b87e3b47
description:
        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 <[email protected]>

diffstat:

 util/systemc/sc_module.cc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 8caffc398ae7 -r 2191b87e3b47 util/systemc/sc_module.cc
--- a/util/systemc/sc_module.cc Thu Feb 09 19:11:23 2017 -0500
+++ b/util/systemc/sc_module.cc Thu Feb 09 19:11:29 2017 -0500
@@ -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
 {
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to