Gerald Pfeifer : tools: Include limits.h for PATH_MAX.
30 Jan
2023
30 Jan
'23
9:19 p.m.
Module: wine Branch: master Commit: 004f367725ee8cd385277f100c10e7dc775ec8c6 URL: https://gitlab.winehq.org/wine/wine/-/commit/004f367725ee8cd385277f100c10e7d... Author: Gerald Pfeifer <gerald(a)pfeifer.com> Date: Sat Jan 28 00:39:39 2023 +0100 tools: Include limits.h for PATH_MAX. 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>
1050
Age (days ago)
1050
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard