summaryrefslogtreecommitdiff
path: root/src/utils/mkdir.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-29 23:36:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-29 23:39:29 +0300
commit7f2484d82112851dbeba83afd18790a58b03599d (patch)
tree6449022bbae8a55825febc7b08e3d4095f1de64f /src/utils/mkdir.cpp
parent24179041d619875bda96eb94307b1f3dd64e6add (diff)
downloadplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz
plus-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2
plus-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz
plus-7f2484d82112851dbeba83afd18790a58b03599d.zip
Initial porting to NACL by Vasily_Makarov.
Diffstat (limited to 'src/utils/mkdir.cpp')
-rw-r--r--src/utils/mkdir.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/mkdir.cpp b/src/utils/mkdir.cpp
index fc6909710..959b15b04 100644
--- a/src/utils/mkdir.cpp
+++ b/src/utils/mkdir.cpp
@@ -36,6 +36,8 @@
#include <cstdlib>
#endif
+#include <errno.h>
+
#include "debug.h"
#if defined WIN32
@@ -112,6 +114,7 @@ int mkdir_r(const char *const pathname)
return 0;
}
#else
+
/// Create a directory, making leading components first if necessary
int mkdir_r(const char *const pathname)
{