Add <cfloat> for missing DBL_MAX declaration (#6582)
Fixes build on linux/gcc10.
This commit is contained in:
parent
8da004800d
commit
35195dc593
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue