Include math.h for NAN (#137)
authorjar <james.a.ross@gmail.com>
Sun, 15 Oct 2017 18:22:45 +0000 (14:22 -0400)
committerAndrew 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

index e6e86169e4ff90fe4b0119438fa223cf7d65a484..dbcd22455d5fe6fdb75388946df176d7227ca6df 100644 (file)
@@ -17,6 +17,7 @@
 #include <string>
 #include <vector>
 #include <algorithm>
+#include <math.h>
 
 DECLARE_TRAP(-1, interactive)