summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-base_process_process__handle.cc
blob: f450e6993dbd7fccd52fb550644b190cb1b55bcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/process/process_handle.cc.orig	2019-04-08 08:18:04 UTC
+++ base/process/process_handle.cc
@@ -39,7 +39,7 @@ uint32_t GetUniqueIdForProcess() {
   return g_unique_id;
 }
 
-#if defined(OS_LINUX) || defined(OS_AIX)
+#if defined(OS_LINUX) || defined(OS_AIX) || defined(OS_BSD)
 
 void InitUniqueIdForProcessInPidNamespace(ProcessId pid_outside_of_namespace) {
   g_unique_id = MangleProcessId(pid_outside_of_namespace);