From da2ebe2b5cfef7b0f2e49160aa22ef5020fa964b Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 5 Aug 2024 11:22:55 +0200 Subject: Add missing cerrno includes --- src/buildtool/file_system/file_system_manager.hpp | 1 + src/buildtool/system/system_command.hpp | 1 + src/other_tools/just_mr/launch.cpp | 1 + src/utils/cpp/file_locking.cpp | 2 ++ 4 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp index ac23691c..ab4f2e0d 100644 --- a/src/buildtool/file_system/file_system_manager.hpp +++ b/src/buildtool/file_system/file_system_manager.hpp @@ -16,6 +16,7 @@ #define INCLUDED_SRC_BUILDTOOL_FILE_SYSTEM_FILE_SYSTEM_MANAGER_HPP #include +#include // for errno #include #include #include // for std::fopen diff --git a/src/buildtool/system/system_command.hpp b/src/buildtool/system/system_command.hpp index 24931dc7..6f1d80ce 100644 --- a/src/buildtool/system/system_command.hpp +++ b/src/buildtool/system/system_command.hpp @@ -16,6 +16,7 @@ #define INCLUDED_SRC_BUILDTOOL_SYSTEM_SYSTEM_COMMAND_HPP #include +#include // for errno #include #include // for strerror() #include diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp index 642f5f73..d83ef8e5 100644 --- a/src/other_tools/just_mr/launch.cpp +++ b/src/other_tools/just_mr/launch.cpp @@ -14,6 +14,7 @@ #include "src/other_tools/just_mr/launch.hpp" +#include // for errno #include #include diff --git a/src/utils/cpp/file_locking.cpp b/src/utils/cpp/file_locking.cpp index 2757dc04..d7f0c49a 100644 --- a/src/utils/cpp/file_locking.cpp +++ b/src/utils/cpp/file_locking.cpp @@ -14,6 +14,8 @@ #include "src/utils/cpp/file_locking.hpp" +#include // for errno + #ifdef __unix__ #include #else -- cgit v1.2.3