27 Jan
2023
27 Jan
'23
11:42 p.m.
From: Gerald Pfeifer <gerald(a)pfeifer.com> PATH_MAX is used in FreeBSD-specific code in get_argv0_dir which otherwise fails. --- tools/tools.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tools.h b/tools/tools.h index 70ef4bd2584..e5b8c4c64e5 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -21,6 +21,7 @@ #ifndef __WINE_TOOLS_H #define __WINE_TOOLS_H +#include <limits.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2052