Add <cfloat> for missing DBL_MAX declaration (#6582)

Fixes build on linux/gcc10.
This commit is contained in:
Yuri D'Elia 2021-06-01 19:54:53 +02:00 committed by GitHub
parent 8da004800d
commit 35195dc593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#include "Model.hpp" #include "Model.hpp"
#include "Print.hpp" #include "Print.hpp"
#include <cfloat>
namespace Slic3r { namespace Slic3r {
// Add or remove support modifier ModelVolumes from model_object_dst to match the ModelVolumes of model_object_new // Add or remove support modifier ModelVolumes from model_object_dst to match the ModelVolumes of model_object_new

View File

@ -4,6 +4,7 @@
#include "SlicingAdaptive.hpp" #include "SlicingAdaptive.hpp"
#include <boost/log/trivial.hpp> #include <boost/log/trivial.hpp>
#include <cfloat>
// Based on the work of Florens Waserfall (@platch on github) // Based on the work of Florens Waserfall (@platch on github)
// and his paper // and his paper