aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{