aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/iobuffer.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/zencore/iobuffer.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/zencore/iobuffer.cpp')
-rw-r--r--src/zencore/iobuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zencore/iobuffer.cpp b/src/zencore/iobuffer.cpp
index 9043d4d4c..e26c361c0 100644
--- a/src/zencore/iobuffer.cpp
+++ b/src/zencore/iobuffer.cpp
@@ -24,8 +24,10 @@ ZEN_THIRD_PARTY_INCLUDES_END
#if ZEN_PLATFORM_WINDOWS
# include <zencore/windows.h>
#else
+# include <fcntl.h>
# include <sys/stat.h>
# include <sys/mman.h>
+# include <unistd.h>
#endif
#include <gsl/gsl-lite.hpp>