projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc0e5c0
)
Add #include <unistd.h> to filesys.cpp (needed by some linux distros now)
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 12 May 2012 19:29:26 +0000
(22:29 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Sat, 12 May 2012 19:29:26 +0000
(22:29 +0300)
src/filesys.cpp
patch
|
blob
|
history
diff --git
a/src/filesys.cpp
b/src/filesys.cpp
index 99a0a6ef882b710a43b9f6cf1215fd8706e6810b..860168460c21f61644064851bd8fdc6eabacc478 100644
(file)
--- a/
src/filesys.cpp
+++ b/
src/filesys.cpp
@@
-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)
{