projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c377c
)
Add #include <unistd.h> to filesys.cpp
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 6 Apr 2012 11:56:14 +0000
(14:56 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Fri, 6 Apr 2012 11:56:14 +0000
(14:56 +0300)
src/filesys.cpp
patch
|
blob
|
history
diff --git
a/src/filesys.cpp
b/src/filesys.cpp
index ab950d464bf482a4553d72d0546598c016e9ac76..bd82a4c7d3760f546d860ef580984848e9e9ae9a 100644
(file)
--- 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)
{