misc: fix includes in util/systemc
authorChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:11:29 +0000 (19:11 -0500)
committerChristian Menard <Christian.Menard@tu-dresden.de>
Fri, 10 Feb 2017 00:11:29 +0000 (19:11 -0500)
This fixes compilation errors with clang on OS X.

Reviewed at http://reviews.gem5.org/r/3807/

Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
util/systemc/sc_module.cc

index 40f79bc854ef1b246b82e496e2ecf554a35f24ee..3f890009de50af24a6fb6e119b4481af70ece642 100644 (file)
  * 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
 {