From 955601d632502558a3f7bc12c04a2c67d7da0a97 Mon Sep 17 00:00:00 2001 From: Aidan Date: Fri, 9 Feb 2024 20:25:16 -0600 Subject: [PATCH] Give CGAL a boost::prior (import) (#3978) CGAL uses boost::prior but doesn't import it properly. A small hack here just imports it before importing anything CGAL. --- src/libslic3r/Geometry/VoronoiUtilsCgal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/Geometry/VoronoiUtilsCgal.cpp b/src/libslic3r/Geometry/VoronoiUtilsCgal.cpp index 062a3b3979..e76decf5f1 100644 --- a/src/libslic3r/Geometry/VoronoiUtilsCgal.cpp +++ b/src/libslic3r/Geometry/VoronoiUtilsCgal.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -100,4 +101,4 @@ bool VoronoiUtilsCgal::is_voronoi_diagram_planar_angle(const VoronoiDiagram &vor } -} // namespace Slic3r::Geometry \ No newline at end of file +} // namespace Slic3r::Geometry