gcc15 is very sensitive to missing includes. Here limits.h is missing to
pull in PATH_MAX.

Don't think this needs a REVISION bump since gcc15 fails hard and for
clang this should be a no-op.
-- 
:wq Claudio

Index: patches/patch-lib_local_filesys_cpp
===================================================================
RCS file: patches/patch-lib_local_filesys_cpp
diff -N patches/patch-lib_local_filesys_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_local_filesys_cpp 15 Dec 2025 12:53:37 -0000
@@ -0,0 +1,13 @@
+error: 'PATH_MAX' was not declared in this scope
+
+Index: lib/local_filesys.cpp
+--- lib/local_filesys.cpp.orig
++++ lib/local_filesys.cpp
+@@ -10,6 +10,7 @@
+ #include <winternl.h>
+ #else
+ #include <errno.h>
++#include <limits.h>
+ #include <sys/fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>

Reply via email to