diff options
author | Gabe Black <gabeblack@google.com> | 2018-12-10 23:16:19 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-01-09 01:33:44 +0000 |
commit | 32e20b3ceb3bc5066b94af845f489b10c7e68c36 (patch) | |
tree | d7638708f9d8e4b5999fdac0f9b410e533e69cb1 | |
parent | fc5df0bdadfa6a9902b9369e97cd80300c21da4d (diff) | |
download | gem5-32e20b3ceb3bc5066b94af845f489b10c7e68c36.tar.xz |
systemc: Include cstring in the tlm header file.
A lot of TLM implementation assumes the string functions (memcpy,
memset, etc) are available, but don't include cstring. Lets do that
for them to avoid having to fix up a lot of places.
Change-Id: I1f26d3a227fe2cefc2613e24cbb0333216e46ee9
Reviewed-on: https://gem5-review.googlesource.com/c/15060
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
-rw-r--r-- | src/systemc/ext/tlm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemc/ext/tlm b/src/systemc/ext/tlm index 3e671f737..151615103 100644 --- a/src/systemc/ext/tlm +++ b/src/systemc/ext/tlm @@ -20,6 +20,7 @@ #ifndef __SYSTEMC_EXT_TLM__ #define __SYSTEMC_EXT_TLM__ +#include <cstring> #include <systemc> // main SystemC header #include "tlm_core/2/version.h" |