diff --git a/thirdparty/nodemesh/nodemesh/builder.cpp b/thirdparty/nodemesh/nodemesh/builder.cpp index 554fd7b0..fa2f747d 100644 --- a/thirdparty/nodemesh/nodemesh/builder.cpp +++ b/thirdparty/nodemesh/nodemesh/builder.cpp @@ -283,7 +283,7 @@ bool Builder::validateNormal(const QVector3D &normal) if (normal.isNull()) { return false; } - if (isnan(normal.x()) || isnan(normal.y()) || isnan(normal.z())) { + if (std::isnan(normal.x()) || std::isnan(normal.y()) || std::isnan(normal.z())) { return false; } return true; diff --git a/thirdparty/simpleuv/simpleuv/uvunwrapper.cpp b/thirdparty/simpleuv/simpleuv/uvunwrapper.cpp index 9606e5a7..fcf7eef9 100644 --- a/thirdparty/simpleuv/simpleuv/uvunwrapper.cpp +++ b/thirdparty/simpleuv/simpleuv/uvunwrapper.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include