diff --git a/src/App/PropertyUnits.cpp b/src/App/PropertyUnits.cpp index 8f5220cb4..f1d577f44 100644 --- a/src/App/PropertyUnits.cpp +++ b/src/App/PropertyUnits.cpp @@ -26,6 +26,7 @@ #ifndef _PreComp_ # include # include +# include #endif /// Here the FreeCAD includes sorted by Base,App,Gui...... @@ -45,7 +46,7 @@ using namespace Base; using namespace std; -const PropertyQuantityConstraint::Constraints LengthStandard = {0.0,(double)INT_MAX,1.0}; +const PropertyQuantityConstraint::Constraints LengthStandard = {0.0,DBL_MAX,1.0}; const PropertyQuantityConstraint::Constraints AngleStandard = {-360,360,1.0}; //**************************************************************************