summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2017-01-07 16:32:40 +0100
committerest31 <MTest31@outlook.com>2017-01-07 16:33:17 +0100
commitcab35c0c6ad9cbc9c9a4384af9dfa52d24ec8484 (patch)
tree28ee18a7562bdfd727361c61673dd8b58e745fff
parentaf7089cec53828533462af5349e861f7d524d22e (diff)
downloadmrust-cab35c0c6ad9cbc9c9a4384af9dfa52d24ec8484.tar.gz
Fix build
-rw-r--r--src/trans/codegen_c.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index 1f54c006..962defa1 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -9,6 +9,7 @@
#include "mangling.hpp"
#include <fstream>
#include <algorithm>
+#include <cmath>
#include <hir/hir.hpp>
#include <mir/mir.hpp>
#include <hir_typeck/static.hpp>