$OpenBSD: patch-fpu_softfloat-native_h,v 1.3 2007/05/01 12:55:14 todd Exp $
--- fpu/softfloat-native.h.orig	Mon Feb  5 17:01:54 2007
+++ fpu/softfloat-native.h	Sat Mar 10 16:39:40 2007
@@ -1,4 +1,5 @@
 /* Native implementation of soft float functions */
+#include "gnu-c99-math.h"
 #include <math.h>
 
 #if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS)
@@ -61,6 +62,11 @@ typedef union {
 | Software IEC/IEEE floating-point rounding mode.
 *----------------------------------------------------------------------------*/
 #if (defined(_BSD) && !defined(__APPLE__)) || defined(HOST_SOLARIS)
+#if defined(__OpenBSD__)
+#define FE_RM FP_RM
+#define FE_RP FP_RP
+#define FE_RZ FP_RZ
+#endif
 enum {
     float_round_nearest_even = FP_RN,
     float_round_down         = FP_RM,
