From: Sergei Trofimov Date: Tue, 7 Jun 2016 13:27:35 +0000 (+0100) Subject: sim: added missing include to mathexpr.hh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0257fdee9190a3935bc851e32c68465a8cb70a7d;p=gem5.git sim: added missing include to mathexpr.hh mathexpr.hh uses std::function<> but was not including the appropriate header, which resulted in an error build/ARM/sim/mathexpr.hh:51:18: error: 'function' in namespace 'std' does not name a template type typedef std::function EvalCallback; This commit adds the missing include. Change-Id: I6c01d77d4354c6de838538f137a38f75f9866166 Reviewed-by: Andreas Sandberg Reviewed-by: Nikos Nikoleris --- diff --git a/src/sim/mathexpr.hh b/src/sim/mathexpr.hh index d857fa512..6d04d2538 100644 --- a/src/sim/mathexpr.hh +++ b/src/sim/mathexpr.hh @@ -41,6 +41,7 @@ #define __SIM_MATHEXPR_HH__ #include +#include #include class MathExpr {