Add #include <unistd.h> to filesys.cpp
authorPerttu Ahola <celeron55@gmail.com>
Fri, 6 Apr 2012 11:56:14 +0000 (14:56 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Fri, 6 Apr 2012 11:56:14 +0000 (14:56 +0300)
src/filesys.cpp

index ab950d464bf482a4553d72d0546598c016e9ac76..bd82a4c7d3760f546d860ef580984848e9e9ae9a 100644 (file)
@@ -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)
 {