From 524b673421ca7802011d6d50e37b716126f3d81b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 25 Feb 2019 20:15:30 -0800 Subject: [PATCH] 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 --- src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h | 1 + src/systemc/ext/tlm_utils/simple_initiator_socket.h | 1 + src/systemc/ext/tlm_utils/simple_target_socket.h | 2 ++ 3 files changed, 4 insertions(+) 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" -- 2.30.2