--- qemu.ORIG/target-i386/helper.c 2007-04-03 12:38:34.000000000 -0400 +++ qemu/target-i386/helper.c 2007-04-05 16:57:31.311064000 -0400 @@ -21,6 +21,11 @@ //#define DEBUG_PCALL +#if defined(__sparc__) && (HOST_SOLARIS < 10) +#include +#define isinf(x) (fpclass(x) == FP_NINF || fpclass(x) == FP_PINF) +#endif + #if 0 #define raise_exception_err(a, b)\ do {\