diff --git a/include/math.hpp b/include/math.hpp index 9f9f03ec..bf372dda 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -2,7 +2,7 @@ #include #include -#include +#include namespace rack { @@ -204,7 +204,7 @@ struct Vec { return x == 0.0 && y == 0.0; } bool isFinite() { - return isfinite(x) && isfinite(y); + return std::isfinite(x) && std::isfinite(y); } Vec clamp(Rect bound); };