From a8b44278e62199f0c4197da96aaaaed3a7a599aa Mon Sep 17 00:00:00 2001 From: ExPikaPaka Date: Wed, 23 Sep 2026 16:16:46 +0200 Subject: [PATCH] Include what the new code uses The Windows build stopped on test_kdtree.cpp: it calls std::iota without including , which libstdc++ happens to pull in anyway. Added there, and the same for and / where the recent changes rely on them being included by something else. --- src/libslic3r/ClipperUtils.cpp | 2 ++ src/libslic3r/GCode/SeamPlacer.cpp | 1 + tests/libslic3r/test_kdtree.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/src/libslic3r/ClipperUtils.cpp b/src/libslic3r/ClipperUtils.cpp index 51d9c0cea6..abb0433076 100644 --- a/src/libslic3r/ClipperUtils.cpp +++ b/src/libslic3r/ClipperUtils.cpp @@ -1,3 +1,5 @@ +#include +#include #include #include #include diff --git a/src/libslic3r/GCode/SeamPlacer.cpp b/src/libslic3r/GCode/SeamPlacer.cpp index 8585f4bcd9..5d7377e242 100644 --- a/src/libslic3r/GCode/SeamPlacer.cpp +++ b/src/libslic3r/GCode/SeamPlacer.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include "libslic3r/AABBTreeLines.hpp" diff --git a/tests/libslic3r/test_kdtree.cpp b/tests/libslic3r/test_kdtree.cpp index dbcf86674a..679a1465a7 100644 --- a/tests/libslic3r/test_kdtree.cpp +++ b/tests/libslic3r/test_kdtree.cpp @@ -1,5 +1,6 @@ #include +#include #include #include