aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/filecas.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-27 14:36:35 +0200
committerGitHub <[email protected]>2023-10-27 14:36:35 +0200
commit2ffb62b6780c2d947b883e87a9534cf71d8b61c5 (patch)
tree62a890a672d37a7f584d1d0f96ae48b5628b9978 /src/zenstore/filecas.cpp
parent0.2.30-pre0 (diff)
downloadzen-2ffb62b6780c2d947b883e87a9534cf71d8b61c5.tar.xz
zen-2ffb62b6780c2d947b883e87a9534cf71d8b61c5.zip
added missing includes (#504)
this change adds some includes to files which "inherit" includes from elsewhere this was exposed on another branch when removing some heavy dependencies from central headers
Diffstat (limited to 'src/zenstore/filecas.cpp')
-rw-r--r--src/zenstore/filecas.cpp4
1 files changed, 4 insertions, 0 deletions
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