diff --git a/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp b/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp index 3a2c5f507e..6d95241b03 100644 --- a/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp +++ b/src/libslic3r/Arachne/SkeletalTrapezoidation.cpp @@ -21,6 +21,10 @@ #include "libslic3r/Arachne/utils/ExtrusionJunction.hpp" #include "libslic3r/Arachne/utils/ExtrusionLine.hpp" +#ifndef NDEBUG + #include "libslic3r/EdgeGrid.hpp" +#endif + #define SKELETAL_TRAPEZOIDATION_BEAD_SEARCH_MAX 1000 //A limit to how long it'll keep searching for adjacent beads. Increasing will re-use beadings more often (saving performance), but search longer for beading (costing performance). namespace Slic3r::Arachne diff --git a/src/slic3r/Utils/WxFontUtils.cpp b/src/slic3r/Utils/WxFontUtils.cpp index 24e61bde1b..d99e6b09f2 100644 --- a/src/slic3r/Utils/WxFontUtils.cpp +++ b/src/slic3r/Utils/WxFontUtils.cpp @@ -10,6 +10,7 @@ #include #include +#include "libslic3r/Utils.hpp" // IWYU pragma: keep #include "libslic3r/Emboss.hpp" #include "libslic3r/Exception.hpp" @@ -357,4 +358,4 @@ std::unique_ptr WxFontUtils::set_bold(wxFont &font, const Embo // There is NO bold font by wx font.SetWeight(orig_weight); return nullptr; -} \ No newline at end of file +}