diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-29 23:36:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-29 23:39:29 +0300 |
commit | 7f2484d82112851dbeba83afd18790a58b03599d (patch) | |
tree | 6449022bbae8a55825febc7b08e3d4095f1de64f /src/utils/mkdir.cpp | |
parent | 24179041d619875bda96eb94307b1f3dd64e6add (diff) | |
download | mv-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz mv-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2 mv-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz mv-7f2484d82112851dbeba83afd18790a58b03599d.zip |
Initial porting to NACL by Vasily_Makarov.
Diffstat (limited to 'src/utils/mkdir.cpp')
-rw-r--r-- | src/utils/mkdir.cpp | 3 |
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) { |