From 35195dc593a4ce1ce2e54b866c65fe3f99aa949f Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Tue, 1 Jun 2021 19:54:53 +0200 Subject: [PATCH] Add for missing DBL_MAX declaration (#6582) Fixes build on linux/gcc10. --- src/libslic3r/PrintApply.cpp | 2 ++ src/libslic3r/SlicingAdaptive.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/libslic3r/PrintApply.cpp b/src/libslic3r/PrintApply.cpp index c906a0041..7606ed150 100644 --- a/src/libslic3r/PrintApply.cpp +++ b/src/libslic3r/PrintApply.cpp @@ -1,6 +1,8 @@ #include "Model.hpp" #include "Print.hpp" +#include + namespace Slic3r { // Add or remove support modifier ModelVolumes from model_object_dst to match the ModelVolumes of model_object_new diff --git a/src/libslic3r/SlicingAdaptive.cpp b/src/libslic3r/SlicingAdaptive.cpp index 776351ac0..9b9b48f88 100644 --- a/src/libslic3r/SlicingAdaptive.cpp +++ b/src/libslic3r/SlicingAdaptive.cpp @@ -4,6 +4,7 @@ #include "SlicingAdaptive.hpp" #include +#include // Based on the work of Florens Waserfall (@platch on github) // and his paper