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
+16
View File
@@ -1,9 +1,20 @@
#include "libslic3r/PresetCacheFormat.hpp"
#include <algorithm>
#include <cstdint>
#include <cereal/archives/binary.hpp>
#include <cstddef>
#include <cereal/details/helpers.hpp>
#include <cereal/cereal.hpp>
#include <ios>
#include <exception>
#include <boost/filesystem/operations.hpp>
#include <memory>
#include <sstream>
#include <stdexcept>
#include <string>
#include <string_view>
#include <system_error>
#include <utility>
#include <boost/crc.hpp>
@@ -14,7 +25,12 @@
#include <boost/nowide/fstream.hpp>
#include <cereal/types/map.hpp>
#include <cereal/types/set.hpp>
#include <vector>
#include "Config.hpp"
#include "PrintConfig.hpp"
#include "Semver.hpp"
#include "Preset.hpp"
#include "libslic3r/Utils.hpp"
namespace Slic3r {