--- Source/WebKit/Platform/IPC/Connection.cpp.bak	2021-05-08 09:24:06.000000000 -0400
+++ Source/WebKit/Platform/IPC/Connection.cpp	2021-05-08 10:04:20.000000000 -0400
@@ -36,6 +36,8 @@
 #include <wtf/text/WTFString.h>
 #include <wtf/threads/BinarySemaphore.h>
 
+#include <unistd.h>
+
 #if PLATFORM(COCOA)
 #include "MachMessage.h"
 #endif
@@ -669,7 +671,7 @@
     }
 
 #if OS(DARWIN)
-    RELEASE_LOG_ERROR(IPC, "Connection::waitForSyncReply: Timed-out while waiting for reply for %{public}s::%{public}s from process %d, id = %" PRIu64, messageReceiverName.toString().data(), messageName.toString().data(), remoteProcessID(), syncRequestID);
+    RELEASE_LOG_ERROR(IPC, "Connection::waitForSyncReply: Timed-out while waiting for reply for %{public}s::%{public}s from process %d, id = %" PRIu64, messageReceiverName.toString().data(), messageName.toString().data(), (int)getpid(), syncRequestID);
 #else
     RELEASE_LOG_ERROR(IPC, "Connection::waitForSyncReply: Timed-out while waiting for reply for %s::%s, id = %" PRIu64, messageReceiverName.toString().data(), messageName.toString().data(), syncRequestID);
 #endif
