]> git.pond.sub.org Git - empserver/commitdiff
(getcwd) [_WIN32]: getcwd() is included in unistd.h in POSIX so
authorRon Koenderink <rkoenderink@yahoo.ca>
Sun, 19 Aug 2007 01:40:14 +0000 (01:40 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sun, 19 Aug 2007 01:40:14 +0000 (01:40 +0000)
add <direct.h> into the windows equivalent for unistd.h.

src/lib/w32/unistd.h

index 5bce09be18e3741e4edf2ffc1d41f9c070c2c118..cb4464547c8728296130e5b40cb8d1d695a27a8e 100644 (file)
@@ -37,6 +37,7 @@
 #include <io.h>
 #include <stdio.h>
 #undef fileno
+#include <direct.h>
 #include "sys/socket.h"
 #include <sys/stat.h>