(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:
Ron Koenderink 2007-08-19 01:40:14 +00:00
parent 71669b1858
commit d5ffce4aa8

View file

@ -37,6 +37,7 @@
#include <io.h>
#include <stdio.h>
#undef fileno
#include <direct.h>
#include "sys/socket.h"
#include <sys/stat.h>