diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-18 12:47:44 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-12-19 16:01:56 +0100 |
commit | f9e28b11df9f5ce5bba2591bbc4c94bef47647c4 (patch) | |
tree | f95ff13bd2f4fb8d88a28429974d6dcc788abe93 /src/other_tools/git_operations | |
parent | 4a896bc5924d549fbb1fd8eb59d3fde30d748bbb (diff) | |
download | justbuild-f9e28b11df9f5ce5bba2591bbc4c94bef47647c4.tar.gz |
other_tools: Fix missing includes of direct dependencies
This fixes the multiple instances of (mainly) missing or wrong
includes of standard, third-party, and own headers in the
other_tools source folder.
Diffstat (limited to 'src/other_tools/git_operations')
-rw-r--r-- | src/other_tools/git_operations/TARGETS | 3 | ||||
-rw-r--r-- | src/other_tools/git_operations/git_operations.cpp | 2 | ||||
-rw-r--r-- | src/other_tools/git_operations/git_ops_types.hpp | 4 | ||||
-rw-r--r-- | src/other_tools/git_operations/git_repo_remote.hpp | 6 |
4 files changed, 14 insertions, 1 deletions
diff --git a/src/other_tools/git_operations/TARGETS b/src/other_tools/git_operations/TARGETS index 8a135ecf..dba6fc18 100644 --- a/src/other_tools/git_operations/TARGETS +++ b/src/other_tools/git_operations/TARGETS @@ -15,7 +15,8 @@ [["src/buildtool/multithreading", "async_map_consumer"], "git_ops_types"] , "stage": ["src", "other_tools", "git_operations"] , "private-deps": - [ ["src/buildtool/file_system", "file_system_manager"] + [ ["@", "fmt", "", "fmt"] + , ["src/buildtool/file_system", "file_system_manager"] , "git_repo_remote" , ["src/buildtool/logging", "logging"] ] diff --git a/src/other_tools/git_operations/git_operations.cpp b/src/other_tools/git_operations/git_operations.cpp index f0f80a8d..74f1d323 100644 --- a/src/other_tools/git_operations/git_operations.cpp +++ b/src/other_tools/git_operations/git_operations.cpp @@ -14,8 +14,10 @@ #include "src/other_tools/git_operations/git_operations.hpp" +#include <memory> #include <vector> +#include "fmt/core.h" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/logging/logger.hpp" #include "src/other_tools/git_operations/git_repo_remote.hpp" diff --git a/src/other_tools/git_operations/git_ops_types.hpp b/src/other_tools/git_operations/git_ops_types.hpp index 6befeee3..2c4b5ff0 100644 --- a/src/other_tools/git_operations/git_ops_types.hpp +++ b/src/other_tools/git_operations/git_ops_types.hpp @@ -15,6 +15,10 @@ #ifndef INCLUDED_SRC_OTHER_TOOLS_GIT_OPERATIONS_GIT_OPS_TYPES_HPP #define INCLUDED_SRC_OTHER_TOOLS_GIT_OPERATIONS_GIT_OPS_TYPES_HPP +#include <filesystem> +#include <optional> +#include <string> + #include "src/buildtool/file_system/git_cas.hpp" #include "src/utils/cpp/path.hpp" diff --git a/src/other_tools/git_operations/git_repo_remote.hpp b/src/other_tools/git_operations/git_repo_remote.hpp index ac4f59aa..ce818de6 100644 --- a/src/other_tools/git_operations/git_repo_remote.hpp +++ b/src/other_tools/git_operations/git_repo_remote.hpp @@ -15,6 +15,12 @@ #ifndef INCLUDED_SRC_OTHER_TOOLS_GIT_OPERATIONS_GIT_REPO_REMOTE_HPP #define INCLUDED_SRC_OTHER_TOOLS_GIT_OPERATIONS_GIT_REPO_REMOTE_HPP +#include <filesystem> +#include <memory> +#include <optional> +#include <string> +#include <vector> + #include "src/buildtool/file_system/git_repo.hpp" extern "C" { |