From 76964322650f733e326ce2bc6d1994824015c72a Mon Sep 17 00:00:00 2001 From: Groene AI <270696204+groeneai@users.noreply.github.com> Date: Sat, 5 Dec 2026 19:32:42 +0000 Subject: [PATCH] Add missing include for pid_t in port_posix.h port_posix.h declares `using ThreadId = pid_t;` on every POSIX platform, but includes only in its AIX and BSD/Android branches. On macOS pid_t was declared only transitively, through the std::format machinery that libc++'s includes in C++23 mode. With _LIBCPP_NO_TRANSITIVE_FORMAT_INCLUDE that include is gone and 18 files fail to compile with "unknown type name 'pid_t'". --- port/port_posix.h | 1 + 1 file changed, 1 insertion(+) diff --git a/port/port_posix.h b/port/port_posix.h index 745af517457c..7524e8f288ea 100644 --- a/port/port_posix.h +++ b/port/port_posix.h @@ -54,6 +54,7 @@ #include #include #include +#include #include #include