summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_tree.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:55 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:58 +0100
commitfcabff5702fd00d575f1f214bf9b6ced037be53b (patch)
tree8de3d56ba8785c568e3f84bc5d14be29af5d25bb /src/buildtool/file_system/git_tree.hpp
parent527e5d552b64c00f4af27007c37de5bf8f100c80 (diff)
downloadjustbuild-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/buildtool/file_system/git_tree.hpp')
-rw-r--r--src/buildtool/file_system/git_tree.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/file_system/git_tree.hpp b/src/buildtool/file_system/git_tree.hpp
index 8dbfb4ed..6146fb0b 100644
--- a/src/buildtool/file_system/git_tree.hpp
+++ b/src/buildtool/file_system/git_tree.hpp
@@ -15,9 +15,12 @@
#ifndef INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_GIT_TREE_HPP
#define INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_GIT_TREE_HPP
+#include <cstddef>
#include <filesystem>
#include <optional>
+#include <string>
#include <unordered_map>
+#include <utility> // std::move
#include "gsl/gsl"
#include "src/buildtool/file_system/git_repo.hpp"