$OpenBSD: patch-src_include_tbb_tbb_machine_h,v 1.3 2012/06/13 11:32:39 pascal Exp $
--- src/include/tbb/tbb_machine.h.orig	Wed May  2 23:01:55 2012
+++ src/include/tbb/tbb_machine.h	Sat May 26 17:38:14 2012
@@ -53,7 +53,7 @@ extern "C" __declspec(dllimport) int __stdcall SwitchT
 #pragma managed(pop)
 #endif
 
-#elif __linux__ || __FreeBSD__
+#elif __linux__ || __FreeBSD__ || __OpenBSD__
 
 #if __i386__
 #include "machine/linux_ia32.h"
@@ -61,6 +61,12 @@ extern "C" __declspec(dllimport) int __stdcall SwitchT
 #include "machine/linux_intel64.h"
 #elif __ia64__
 #include "machine/linux_ia64.h"
+#elif __powerpc__
+#include "machine/mac_ppc.h"
+#elif __sparc64__
+#include "machine/sunos_sparc.h"
+#else
+#include "machine/gcc_generic.h"
 #endif
 
 #elif __APPLE__
