aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenstore')
-rw-r--r--src/zenstore/blockstore.cpp1
-rw-r--r--src/zenstore/filecas.cpp4
-rw-r--r--src/zenstore/gc.cpp1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/zenstore/blockstore.cpp b/src/zenstore/blockstore.cpp
index c5f978d18..02ee204ad 100644
--- a/src/zenstore/blockstore.cpp
+++ b/src/zenstore/blockstore.cpp
@@ -10,6 +10,7 @@
#include <zencore/trace.h>
#include <algorithm>
+#include <unordered_map>
ZEN_THIRD_PARTY_INCLUDES_START
#include <tsl/robin_map.h>
diff --git a/src/zenstore/filecas.cpp b/src/zenstore/filecas.cpp
index d41f449d3..24d0a39bb 100644
--- a/src/zenstore/filecas.cpp
+++ b/src/zenstore/filecas.cpp
@@ -35,6 +35,10 @@ ZEN_THIRD_PARTY_INCLUDES_START
#include <xxhash.h>
#if ZEN_PLATFORM_WINDOWS
# include <zencore/windows.h>
+#else
+# include <fcntl.h>
+# include <sys/stat.h>
+# include <unistd.h>
#endif
ZEN_THIRD_PARTY_INCLUDES_END
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index 24b7b4d2c..9743eabf0 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -23,6 +23,7 @@
#include <fmt/format.h>
#include <filesystem>
+#include <unordered_map>
#if ZEN_PLATFORM_WINDOWS
# include <zencore/windows.h>