Fix compiler warning about finite() missing on Solaris.
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index c87b9e8..7f40ed6 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -8,6 +8,10 @@
#include "Python.h"
#include "structmember.h"
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
+
#ifndef WITHOUT_COMPLEX
/* Precisions used by repr() and str(), respectively.
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__)