From: jar Date: Sun, 15 Oct 2017 18:22:45 +0000 (-0400) Subject: Include math.h for NAN (#137) X-Git-Url: https://git.libre-soc.org/?p=riscv-isa-sim.git;a=commitdiff_plain;h=a91d9f7d89abd6cda6fafb7b5e7cacf4b3590c29;hp=3177a7c5a644e9de15e6ed6aa9d3afa84043a230 Include math.h for NAN (#137) commit 85c40db208db3e26f507dc6a74a5dc540b504b5c introduced a NAN dependency but did not include the math.h header --- diff --git a/riscv/interactive.cc b/riscv/interactive.cc index e6e8616..dbcd224 100644 --- a/riscv/interactive.cc +++ b/riscv/interactive.cc @@ -17,6 +17,7 @@ #include #include #include +#include DECLARE_TRAP(-1, interactive)