diff options
Diffstat (limited to 'otherlibs/unix/getcwd.c')
-rw-r--r-- | otherlibs/unix/getcwd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/otherlibs/unix/getcwd.c b/otherlibs/unix/getcwd.c index cf7a94ef7..5d97b0ba4 100644 --- a/otherlibs/unix/getcwd.c +++ b/otherlibs/unix/getcwd.c @@ -13,11 +13,15 @@ #include <mlvalues.h> #include <alloc.h> -#include "unix.h" +#include "unixsupport.h" #ifdef HAS_GETCWD +#ifndef _WIN32 #include <sys/param.h> +#else +#define MAXPATHLEN 512 +#endif value unix_getcwd() /* ML */ { |