From: Gabe Black Date: Tue, 11 Dec 2018 07:16:19 +0000 (-0800) Subject: systemc: Include cstring in the tlm header file. X-Git-Tag: v19.0.0.0~1302 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32e20b3ceb3bc5066b94af845f489b10c7e68c36;p=gem5.git 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 Maintainer: Anthony Gutierrez --- 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 #include // main SystemC header #include "tlm_core/2/version.h"