$OpenBSD: patch-base_threading_platform_thread_linux_cc,v 1.10 2016/04/16 19:08:45 robert Exp $
--- base/threading/platform_thread_linux.cc.orig.port	Fri Apr  8 18:02:06 2016
+++ base/threading/platform_thread_linux.cc	Thu Apr 14 08:25:08 2016
@@ -17,7 +17,9 @@
 
 #if !defined(OS_NACL)
 #include <pthread.h>
+#if !defined(OS_BSD)
 #include <sys/prctl.h>
+#endif
 #include <sys/types.h>
 #include <unistd.h>
 #endif
@@ -70,7 +72,7 @@ void PlatformThread::SetName(const std::string& name) 
   ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name);
   tracked_objects::ThreadData::InitializeThreadContext(name);
 
-#if !defined(OS_NACL)
+#if !defined(OS_NACL) && !defined(OS_BSD)
   // On linux we can get the thread names to show up in the debugger by setting
   // the process name for the LWP.  We don't want to do this for the main
   // thread because that would rename the process, causing tools like killall
