From 3bc1d8aa17339154c9de88e7ee29ff533041cb6d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 13 Nov 2024 11:51:57 +0100 Subject: other_tools/just_mr: Implement IWYU suggestions --- src/other_tools/just_mr/launch.cpp | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'src/other_tools/just_mr/launch.cpp') diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp index 8430713c..7714711b 100644 --- a/src/other_tools/just_mr/launch.cpp +++ b/src/other_tools/just_mr/launch.cpp @@ -14,23 +14,41 @@ #include "src/other_tools/just_mr/launch.hpp" -#include // for errno +#ifdef __unix__ +#include +#else +#error "Non-unix is not supported yet" +#endif + +#include +#include // for errno +#include #include // for strerror() +#include #include -#include +#include +#include +#include +#include +#include +#include +#include #include "nlohmann/json.hpp" #include "src/buildtool/build_engine/expression/configuration.hpp" #include "src/buildtool/build_engine/expression/expression.hpp" +#include "src/buildtool/build_engine/expression/expression_ptr.hpp" +#include "src/buildtool/common/clidefaults.hpp" +#include "src/buildtool/common/user_structs.hpp" #include "src/buildtool/logging/log_level.hpp" #include "src/buildtool/logging/logger.hpp" -#include "src/buildtool/multithreading/task_system.hpp" #include "src/buildtool/storage/config.hpp" #include "src/buildtool/storage/garbage_collector.hpp" #include "src/buildtool/storage/repository_garbage_collector.hpp" #include "src/other_tools/just_mr/exit_codes.hpp" #include "src/other_tools/just_mr/setup.hpp" #include "src/other_tools/just_mr/setup_utils.hpp" +#include "src/other_tools/just_mr/utils.hpp" #include "src/utils/cpp/file_locking.hpp" auto CallJust(std::optional const& config_file, -- cgit v1.2.3