aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-06 14:56:14 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-06 14:56:14 +0300
commita67540807a051c39d79203832383e8fc8829b5d6 (patch)
tree25826f54ab4492afbd5e77353a171f1ae55d54c6
parent20c377ca655216839f989bbe7fa3b406e06fe482 (diff)
downloadminetest-a67540807a051c39d79203832383e8fc8829b5d6.tar.gz
minetest-a67540807a051c39d79203832383e8fc8829b5d6.tar.bz2
minetest-a67540807a051c39d79203832383e8fc8829b5d6.zip
Add #include <unistd.h> to 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 ab950d464..bd82a4c7d 100644
--- a/src/filesys.cpp
+++ b/src/filesys.cpp
@@ -214,6 +214,7 @@ bool DeleteSingleFileOrEmptyDirectory(std::string path)
#include <errno.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <unistd.h>
std::vector<DirListNode> GetDirListing(std::string pathstring)
{