summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/File.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-12 22:58:35 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-13 00:41:54 +0200
commit1c714312eb79d50d3ff29030b66babe71ef7fa4c (patch)
tree01f36b661769fe8b1c51c1a3511b6432c60843b8 /src/OSSupport/File.cpp
parentJenkins fixes (diff)
downloadcuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.gz
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.bz2
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.lz
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.xz
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.tar.zst
cuberite-1c714312eb79d50d3ff29030b66babe71ef7fa4c.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/File.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OSSupport/File.cpp b/src/OSSupport/File.cpp
index fc3ddbdeb..03d621a38 100644
--- a/src/OSSupport/File.cpp
+++ b/src/OSSupport/File.cpp
@@ -9,6 +9,8 @@
#include <fstream>
#ifdef _WIN32
#include <share.h> // for _SH_DENYWRITE
+#else
+ #include <dirent.h>
#endif // _WIN32