projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3177a7c
)
Include math.h for NAN (#137)
author
jar
<james.a.ross@gmail.com>
Sun, 15 Oct 2017 18:22:45 +0000
(14:22 -0400)
committer
Andrew Waterman
<aswaterman@gmail.com>
Sun, 15 Oct 2017 18:22:45 +0000
(11:22 -0700)
commit
85c40db208db3e26f507dc6a74a5dc540b504b5c
introduced a NAN dependency but did not include the math.h header
riscv/interactive.cc
patch
|
blob
|
history
diff --git
a/riscv/interactive.cc
b/riscv/interactive.cc
index e6e86169e4ff90fe4b0119438fa223cf7d65a484..dbcd22455d5fe6fdb75388946df176d7227ca6df 100644
(file)
--- a/
riscv/interactive.cc
+++ b/
riscv/interactive.cc
@@
-17,6
+17,7
@@
#include <string>
#include <vector>
#include <algorithm>
+#include <math.h>
DECLARE_TRAP(-1, interactive)