# HG changeset patch # User Olaf Wintermann # Date 1528629870 -7200 # Node ID 241db665477a3b925e381b95f8e9e7884815ab8f # Parent dc74f736aea155d3856e85e68af880e47fe2cb87 fixes build on non-windows 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 ---------- */