From: Gabe Black Date: Tue, 26 Feb 2019 04:15:30 +0000 (-0800) Subject: tlm: Add some includes to some tlm_utils header files. X-Git-Tag: v19.0.0.0~1076 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=524b673421ca7802011d6d50e37b716126f3d81b;p=gem5.git tlm: Add some includes to some tlm_utils header files. These bring in some pieces that those headers use but were only coincidentally included by something else when they were used. Change-Id: I5f119260d8f25d914d8545a60834f23f65f82d0c Reviewed-on: https://gem5-review.googlesource.com/c/16948 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black --- diff --git a/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h b/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h index 5d87e8b0b..863e1f75e 100644 --- a/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h +++ b/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h @@ -27,6 +27,7 @@ #include "../core/sc_spawn.hh" #include "../core/sc_time.hh" #include "../dt/int/sc_nbdefs.hh" +#include "../tlm_core/2/interfaces/fw_bw_ifs.hh" namespace tlm_utils { diff --git a/src/systemc/ext/tlm_utils/simple_initiator_socket.h b/src/systemc/ext/tlm_utils/simple_initiator_socket.h index 6b1dbbf0d..d67274754 100644 --- a/src/systemc/ext/tlm_utils/simple_initiator_socket.h +++ b/src/systemc/ext/tlm_utils/simple_initiator_socket.h @@ -25,6 +25,7 @@ #include "../tlm_core/2/generic_payload/gp.hh" #include "../tlm_core/2/interfaces/fw_bw_ifs.hh" #include "../tlm_core/2/sockets/initiator_socket.hh" +#include "../tlm_core/2/sockets/target_socket.hh" #include "../utils/sc_report_handler.hh" #include "convenience_socket_bases.h" diff --git a/src/systemc/ext/tlm_utils/simple_target_socket.h b/src/systemc/ext/tlm_utils/simple_target_socket.h index 617ef7c80..ce377475e 100644 --- a/src/systemc/ext/tlm_utils/simple_target_socket.h +++ b/src/systemc/ext/tlm_utils/simple_target_socket.h @@ -23,8 +23,10 @@ #include "../core/sc_event.hh" #include "../core/sc_module.hh" #include "../core/sc_port.hh" +#include "../core/sc_spawn.hh" #include "../tlm_core/2/generic_payload/gp.hh" #include "../tlm_core/2/interfaces/fw_bw_ifs.hh" +#include "../tlm_core/2/sockets/initiator_socket.hh" #include "../tlm_core/2/sockets/target_socket.hh" #include "../utils/sc_report_handler.hh" #include "convenience_socket_bases.h"