PATH_MAX is used in FreeBSD-specific code in get_argv0_dir which otherwise fails.
From: Gerald Pfeifer gerald@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>