diff options
author | John Hodge (Mutabah) <acessdev@gmail.com> | 2017-01-08 07:47:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-08 07:47:23 +0800 |
commit | 84de40f681c40293907b89fc31c24252be24d41e (patch) | |
tree | 28ee18a7562bdfd727361c61673dd8b58e745fff /src/trans/codegen_c.cpp | |
parent | af7089cec53828533462af5349e861f7d524d22e (diff) | |
parent | cab35c0c6ad9cbc9c9a4384af9dfa52d24ec8484 (diff) | |
download | mrust-84de40f681c40293907b89fc31c24252be24d41e.tar.gz |
Merge pull request #16 from est31/master
Fix build (requireds cmath for std::isinf/isnan)
Diffstat (limited to 'src/trans/codegen_c.cpp')
-rw-r--r-- | src/trans/codegen_c.cpp | 1 |
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> |