(getcwd) [_WIN32]: getcwd() is included in unistd.h in POSIX so
add <direct.h> into the windows equivalent for unistd.h.
This commit is contained in:
parent
71669b1858
commit
d5ffce4aa8
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
#include <io.h>
|
||||
#include <stdio.h>
|
||||
#undef fileno
|
||||
#include <direct.h>
|
||||
#include "sys/socket.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue