$OpenBSD: patch-base_threading_platform_thread_h,v 1.5 2018/05/04 07:14:57 robert Exp $
Index: base/threading/platform_thread.h
--- base/threading/platform_thread.h.orig
+++ base/threading/platform_thread.h
@@ -217,7 +217,7 @@ class BASE_EXPORT PlatformThread {
 
   static ThreadPriority GetCurrentThreadPriority();
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Toggles a specific thread's priority at runtime. This can be used to
   // change the priority of a thread in a different process and will fail
   // if the calling process does not have proper permissions. The
