summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2016-10-19 18:12:49 +0200
committerest31 <MTest31@outlook.com>2016-10-20 04:51:29 +0200
commitd4846afb2c8501f3899e5ad05e66ea742db60c2f (patch)
tree959c3633fd52693c3d22af62c72dfa13c153dd6e
parent5ab49fc3ef65679b8569c55ec26ea7ccd7022ba0 (diff)
downloadmrust-d4846afb2c8501f3899e5ad05e66ea742db60c2f.tar.gz
Fix build on gcc 6.2
-rw-r--r--src/hir/serialise_lowlevel.hpp1
-rw-r--r--src/mir/from_hir_match.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/serialise_lowlevel.hpp b/src/hir/serialise_lowlevel.hpp
index 39c7867d..4571b863 100644
--- a/src/hir/serialise_lowlevel.hpp
+++ b/src/hir/serialise_lowlevel.hpp
@@ -9,6 +9,7 @@
#include <boost/iostreams/filtering_stream.hpp>
#include <fstream>
+#include <vector>
namespace HIR {
namespace serialise {
diff --git a/src/mir/from_hir_match.cpp b/src/mir/from_hir_match.cpp
index 35c031e1..e8005b20 100644
--- a/src/mir/from_hir_match.cpp
+++ b/src/mir/from_hir_match.cpp
@@ -8,6 +8,7 @@
#include "from_hir.hpp"
#include <hir_typeck/common.hpp> // monomorphise_type
#include <algorithm>
+#include <numeric>
void MIR_LowerHIR_Match( MirBuilder& builder, MirConverter& conv, ::HIR::ExprNode_Match& node, ::MIR::LValue match_val );