$OpenBSD: patch-src_tbbmalloc_frontend_cpp,v 1.1.1.1 2018/07/05 09:14:55 bentley Exp $

Index: src/tbbmalloc/frontend.cpp
--- src/tbbmalloc/frontend.cpp.orig
+++ src/tbbmalloc/frontend.cpp
@@ -748,7 +748,7 @@ static inline unsigned int highestBitPos(unsigned int 
     unsigned int pos;
 #if __ARCH_x86_32||__ARCH_x86_64
 
-# if __linux__||__APPLE__||__FreeBSD__||__NetBSD__||__sun||__MINGW32__
+# if __linux__||__APPLE__||__FreeBSD__||__NetBSD__||__OpenBSD__||__sun||__MINGW32__
     __asm__ ("bsr %1,%0" : "=r"(pos) : "r"(n));
 # elif (_WIN32 && (!_WIN64 || __INTEL_COMPILER))
     __asm
