$OpenBSD: patch-erts_emulator_sys_unix_sys_float_c,v 1.3 2006/08/02 17:21:19 steven Exp $
--- erts/emulator/sys/unix/sys_float.c.orig	Wed May  3 10:05:16 2006
+++ erts/emulator/sys/unix/sys_float.c	Wed May 17 16:06:25 2006
@@ -111,7 +111,7 @@ static void unmask_x87(void)
     __asm__ __volatile__("fldcw %0" : : "m"(cw));
 }
 
-#if defined(__x86_64__)
+#if defined(__x86_64__) && !defined(__OpenBSD__)
 static void unmask_sse2(void)
 {
     unsigned int mxcsr;
