summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--loader/filesystem.cpp1
-rw-r--r--loader/loader-impl.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/loader/filesystem.cpp b/loader/filesystem.cpp
index 8c62a9b3..aeec8954 100644
--- a/loader/filesystem.cpp
+++ b/loader/filesystem.cpp
@@ -1,5 +1,6 @@
#include "impl.hpp"
#include "compat/assert.hpp"
+#include <cerrno>
#include <Corrade/Containers/StringView.h>
#include <Corrade/Utility/Debug.h>
#include <Corrade/Utility/Implementation/ErrorString.h>
diff --git a/loader/loader-impl.cpp b/loader/loader-impl.cpp
index 6f50d304..447a5a81 100644
--- a/loader/loader-impl.cpp
+++ b/loader/loader-impl.cpp
@@ -5,6 +5,7 @@
#include "compat/alloca.hpp"
#include "src/anim-atlas.hpp"
#include "src/emplacer.hpp"
+#include <cstring>
#include <unordered_map>
#include <utility>
#include <memory>