forked from github/server
include the correct header on linux
This commit is contained in:
parent
c810b72845
commit
916e5389c7
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#elif defined(__GCC__)
|
#else
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -14,4 +14,4 @@ int os_mkdir(const char * path, int mode)
|
||||||
#else /* POSIX is our last hope */
|
#else /* POSIX is our last hope */
|
||||||
return mkdir(path, (mode_t)mode);
|
return mkdir(path, (mode_t)mode);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue