diff -r dc74f736aea1 -r 241db665477a dav/system.c --- a/dav/system.c Sun Jun 10 13:22:04 2018 +0200 +++ b/dav/system.c Sun Jun 10 13:24:30 2018 +0200 @@ -30,6 +30,12 @@ #include #include #include +#include +#include + +#ifndef _WIN32 +#include +#endif #include "system.h" @@ -95,6 +101,7 @@ int sys_mkdir(const char *path) { return mkdir(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); +} #else /* ---------- Windows implementation ---------- */