Add #include <unistd.h> to filesys.cpp (needed by some linux distros now)

This commit is contained in:
Perttu Ahola 2012-05-12 22:29:26 +03:00
parent bc0e5c0063
commit 1596628850

@ -171,6 +171,7 @@ bool RecursiveDelete(std::string path)
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <unistd.h>
std::vector<DirListNode> GetDirListing(std::string pathstring) std::vector<DirListNode> GetDirListing(std::string pathstring)
{ {