$OpenBSD: patch-ipc_ipc_channel_mojo_cc,v 1.2 2017/12/04 13:55:42 robert Exp $

Index: ipc/ipc_channel_mojo.cc
--- ipc/ipc_channel_mojo.cc.orig
+++ ipc/ipc_channel_mojo.cc
@@ -259,7 +259,7 @@ MojoResult UnwrapAttachment(mojom::SerializedHandlePtr
 }
 
 base::ProcessId GetSelfPID() {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   if (int global_pid = Channel::GetGlobalPid())
     return global_pid;
 #endif  // OS_LINUX
