aboutsummaryrefslogtreecommitdiff
path: root/fpu
diff options
context:
space:
mode:
Diffstat (limited to 'fpu')
-rw-r--r--fpu/softfloat-native.h3
-rw-r--r--fpu/softfloat.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h
index 9017ea582f..6f3b6a98a1 100644
--- a/fpu/softfloat-native.h
+++ b/fpu/softfloat-native.h
@@ -3,8 +3,11 @@
#if defined(_BSD) && !defined(__APPLE__)
#include <ieeefp.h>
#else
+#if !defined(_PRESOLARIS10)
#include <fenv.h>
#endif
+#endif
+#include "gnu-c99-math.h"
typedef float float32;
typedef double float64;
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 666d6a017f..fdc80f32db 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -177,7 +177,7 @@ void set_floatx80_rounding_precision(int val STATUS_PARAM);
| Routine to raise any or all of the software IEC/IEEE floating-point
| exception flags.
*----------------------------------------------------------------------------*/
-void float_raise( signed char STATUS_PARAM);
+void float_raise( int8 flags STATUS_PARAM);
/*----------------------------------------------------------------------------
| Software IEC/IEEE integer-to-floating-point conversion routines.