Include math.h for NAN (#137)
[riscv-isa-sim.git] / 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)