Fix compiler warning about finite() missing on Solaris.
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 848a47f..b832f7a 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -10,6 +10,10 @@
 #include <ctype.h>
 #include <float.h>
 
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
 #include "formatter_string.h"
 
 #if !defined(__STDC__)