diff --git a/windows/winutils.c b/windows/winutils.c index 450c030e..b1ee0113 100644 --- a/windows/winutils.c +++ b/windows/winutils.c @@ -5,7 +5,6 @@ #include #include #include -#include #include "winstuff.h" #include "misc.h" @@ -26,7 +25,7 @@ */ struct filereq_tag { - TCHAR cwd[PATH_MAX]; + TCHAR cwd[MAX_PATH]; }; /* @@ -37,7 +36,7 @@ struct filereq_tag { */ BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save) { - TCHAR cwd[PATH_MAX]; /* process CWD */ + TCHAR cwd[MAX_PATH]; /* process CWD */ BOOL ret; /* Get process CWD */