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
+12
View File
@@ -1,18 +1,30 @@
#include "GCodeReader.hpp"
#include <Shiny/ShinyMacros.h>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/log/trivial.hpp>
#include <boost/nowide/fstream.hpp>
#include <boost/nowide/cstdio.hpp>
#include <cassert>
#include <cstddef>
#include <cstdio>
#include <cctype>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <iomanip>
#include "PrintConfig.hpp"
#include "Utils.hpp"
#include "LocalesUtils.hpp"
#include "libslic3r.h"
#include <Shiny/Shiny.h>
#include <fast_float/fast_float.h>
#include <utility>
#include <vector>
#include <string_view>
#include <sstream>
namespace Slic3r {