summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Hodge (Mutabah) <acessdev@gmail.com>2016-10-20 11:03:33 +0800
committerGitHub <noreply@github.com>2016-10-20 11:03:33 +0800
commit5f5aaf3b56807b7a6f8737dc77bc52cf94011382 (patch)
treedcdef5d985663cd355723bb40c86be5cbc22c0e4 /src
parent4112fb128346045b06efd64ff9e1020e49af24c0 (diff)
parentd4846afb2c8501f3899e5ad05e66ea742db60c2f (diff)
downloadmrust-5f5aaf3b56807b7a6f8737dc77bc52cf94011382.tar.gz
Merge pull request #8 from est31/master
Fix build on gcc 6.2
Diffstat (limited to 'src')
-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 );