summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/file_system/file_system_manager.hpp1
-rw-r--r--src/buildtool/system/system_command.hpp1
-rw-r--r--src/other_tools/just_mr/launch.cpp1
-rw-r--r--src/utils/cpp/file_locking.cpp2
4 files changed, 5 insertions, 0 deletions
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 <array>
+#include <cerrno> // for errno
#include <chrono>
#include <cstddef>
#include <cstdio> // 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 <array>
+#include <cerrno> // for errno
#include <cstdio>
#include <cstring> // for strerror()
#include <iostream>
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 <cerrno> // for errno
#include <filesystem>
#include <utility>
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 <cerrno> // for errno
+
#ifdef __unix__
#include <sys/file.h>
#else