aboutsummaryrefslogtreecommitdiff
path: root/src/filesys.cpp
diff options
context:
space:
mode:
authorLoneWolfHT <lonewolf04361@gmail.com>2021-10-15 09:16:09 -0700
committerGitHub <noreply@github.com>2021-10-15 18:16:09 +0200
commitc82ec8b210f613fcd5bb386a14f0a8f88591253a (patch)
tree4ddda7a1b8b2aabb895866cd8475f3b2a65e855a /src/filesys.cpp
parent6901c5fae54eafb05494823b60d4e26c14b342f1 (diff)
downloadminetest-c82ec8b210f613fcd5bb386a14f0a8f88591253a.tar.gz
minetest-c82ec8b210f613fcd5bb386a14f0a8f88591253a.tar.bz2
minetest-c82ec8b210f613fcd5bb386a14f0a8f88591253a.zip
Fix compiling on Windows with Visual Studio
Diffstat (limited to 'src/filesys.cpp')
-rw-r--r--src/filesys.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filesys.cpp b/src/filesys.cpp
index 44f1c88b3..60090c801 100644
--- a/src/filesys.cpp
+++ b/src/filesys.cpp
@@ -45,6 +45,7 @@ namespace fs
#include <windows.h>
#include <shlwapi.h>
#include <io.h>
+#include <direct.h>
std::vector<DirListNode> GetDirListing(const std::string &pathstring)
{