include the correct header on linux

This commit is contained in:
Enno Rehling 2011-02-27 08:01:23 +01:00
parent c810b72845
commit 916e5389c7
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#if defined(WIN32)
#include <direct.h>
#elif defined(__GCC__)
#else
#include <sys/stat.h>
#endif
@ -14,4 +14,4 @@ int os_mkdir(const char * path, int mode)
#else /* POSIX is our last hope */
return mkdir(path, (mode_t)mode);
#endif
}
}