summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReiley Jeapaul <Reiley.Jeyapaul@arm.com>2016-06-20 15:34:41 +0100
committerReiley Jeapaul <Reiley.Jeyapaul@arm.com>2016-06-20 15:34:41 +0100
commit0e80ee7778748dff65edacb96fbc9b70b605ea69 (patch)
treef55d55ba295aa714dc4d555569c08c562eed48a0
parent40e4453ddc9ddbf5b3b949c98e2d3281cf3e97f2 (diff)
downloadgem5-0e80ee7778748dff65edacb96fbc9b70b605ea69.tar.xz
sim: Added library include to fix build errors on clang-703.0.31
The use of array tuples, requires an explicit include of the array library Change-Id: I06730051777a97edf80e41a5604184b387b12239 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r--src/sim/mathexpr.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/mathexpr.hh b/src/sim/mathexpr.hh
index 6d04d2538..889983476 100644
--- a/src/sim/mathexpr.hh
+++ b/src/sim/mathexpr.hh
@@ -41,6 +41,7 @@
#define __SIM_MATHEXPR_HH__
#include <algorithm>
+#include <array>
#include <functional>
#include <string>