summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/file_system_manager.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-11-08 15:54:26 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2024-11-14 14:23:05 +0100
commit3f24fdd9606fde402a585c57073147037378f6d1 (patch)
tree2001afd643761c7fd83c144790a922e8ca62c8a0 /src/buildtool/file_system/file_system_manager.hpp
parent8c990dbbfa1e2db1f72b54f6bbfe52c1f2c019b8 (diff)
downloadjustbuild-3f24fdd9606fde402a585c57073147037378f6d1.tar.gz
file_system: Implement IWYU suggestions
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
-rw-r--r--src/buildtool/file_system/file_system_manager.hpp28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp
index f7bcaee0..e5e73415 100644
--- a/src/buildtool/file_system/file_system_manager.hpp
+++ b/src/buildtool/file_system/file_system_manager.hpp
@@ -15,6 +15,18 @@
#ifndef INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_FILE_SYSTEM_MANAGER_HPP
#define INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_FILE_SYSTEM_MANAGER_HPP
+#ifdef __unix__
+#include <fcntl.h>
+#include <pwd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <sys/wait.h>
+#include <unistd.h>
+#else
+#error "Non-unix is not supported yet"
+#endif
+
+#include <algorithm>
#include <array>
#include <cerrno> // for errno
#include <chrono>
@@ -23,25 +35,19 @@
#include <cstdio> // for std::fopen
#include <cstdlib> // std::exit, std::getenv
#include <cstring>
+#include <ctime>
#include <exception>
#include <filesystem>
#include <fstream>
+#include <functional>
#include <optional>
+#include <string>
#include <system_error>
#include <unordered_set>
+#include <utility>
#include <variant>
-#ifdef __unix__
-#include <fcntl.h>
-#include <pwd.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <unistd.h>
-#else
-#error "Non-unix is not supported yet"
-#endif
-
+#include "fmt/core.h"
#include "gsl/gsl"
#include "nlohmann/json.hpp"
#include "src/buildtool/file_system/object_type.hpp"