Add Missing Includes Across src/libslic3r

Every libslic3r source and header now directly includes the headers declaring what it uses, rather than relying on the precompiled header or transitive includes. Generated with clang-tidy misc-include-cleaner, with libslic3r headers spelled libslic3r/... so they resolve outside the library's private include paths. MultiMaterialSegmentation.hpp, Support/SupportParameters.hpp and Format/STEP.hpp are made self-contained by hand.
This commit is contained in:
Hanif Koh
2026-10-02 14:57:37 +08:00
parent dbbf26443b
commit c48f36e5f4
456 changed files with 3917 additions and 0 deletions
+13
View File
@@ -4,10 +4,23 @@
#include "ClipperUtils.hpp"
#include "Extruder.hpp"
#include "Flow.hpp"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <functional>
#include <limits>
#include <sstream>
#include "Point.hpp"
#include "Polyline.hpp"
#include "Polygon.hpp"
#include <utility>
#include <vector>
#include "Line.hpp"
#include <string>
#include <string_view>
#include "Utils.hpp"
#include "libslic3r.h"
#define L(s) (s)