Add #include <unistd.h> to filesys.cpp (needed by some linux distros now)
authorPerttu Ahola <celeron55@gmail.com>
Sat, 12 May 2012 19:29:26 +0000 (22:29 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 12 May 2012 19:29:26 +0000 (22:29 +0300)
src/filesys.cpp

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