systemc: Make an include in src/systemc/ext use a relative path.
authorGabe Black <gabeblack@google.com>
Fri, 8 Feb 2019 22:46:10 +0000 (14:46 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 14 Feb 2019 11:53:24 +0000 (11:53 +0000)
The includes in src/systemc/ext are supposed to use relative paths so
that they can be included in other bodies of code which aren't based
in gem5 and don't share it's -I-s, or potentially even have access to
anything outside of src/systemc/ext.

Change-Id: Icde457329c2c4ab4689221015bfcfe2ff8b051f0
Reviewed-on: https://gem5-review.googlesource.com/c/16262
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh

index f9821dbefdb0977ddcb6b21787212d757d3a3a8e..7765e9b3e542702dbf03031df6cbe8954bf3162a 100644 (file)
@@ -22,7 +22,7 @@
 #define \
     __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__
 
-#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh"
+#include "../../interfaces/master_slave_ifs.hh"
 
 namespace tlm
 {