diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-03-26 18:58:55 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-03-26 18:58:58 +0100 |
commit | fcabff5702fd00d575f1f214bf9b6ced037be53b (patch) | |
tree | 8de3d56ba8785c568e3f84bc5d14be29af5d25bb /src/other_tools/repo_map | |
parent | 527e5d552b64c00f4af27007c37de5bf8f100c80 (diff) | |
download | justbuild-fcabff5702fd00d575f1f214bf9b6ced037be53b.tar.gz |
Add missing system includes
Main culprits:
- std::size_t, std::nullptr_t, and NULL require <cstddef>
- std::move and std::forward require <utility>
- unordered maps and sets require respective includes
- std::for_each and std::all_of require <algorithm>
Diffstat (limited to 'src/other_tools/repo_map')
-rw-r--r-- | src/other_tools/repo_map/repos_to_setup_map.cpp | 3 | ||||
-rw-r--r-- | src/other_tools/repo_map/repos_to_setup_map.hpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/other_tools/repo_map/repos_to_setup_map.cpp b/src/other_tools/repo_map/repos_to_setup_map.cpp index df7eebb0..7ccb73d9 100644 --- a/src/other_tools/repo_map/repos_to_setup_map.cpp +++ b/src/other_tools/repo_map/repos_to_setup_map.cpp @@ -14,6 +14,9 @@ #include "src/other_tools/repo_map/repos_to_setup_map.hpp" +#include <unordered_map> +#include <utility> // std::move + #include "fmt/core.h" #include "src/buildtool/file_system/file_root.hpp" #include "src/buildtool/file_system/symlinks_map/pragma_special.hpp" diff --git a/src/other_tools/repo_map/repos_to_setup_map.hpp b/src/other_tools/repo_map/repos_to_setup_map.hpp index 4cf992e8..64bec13a 100644 --- a/src/other_tools/repo_map/repos_to_setup_map.hpp +++ b/src/other_tools/repo_map/repos_to_setup_map.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_OTHER_TOOLS_REPO_MAP_REPOS_TO_SETUP_MAP_HPP #define INCLUDED_SRC_OTHER_TOOLS_REPO_MAP_REPOS_TO_SETUP_MAP_HPP +#include <cstddef> #include <memory> #include <optional> #include <string> |