summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-03-28 05:34:59 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2008-03-28 05:34:59 (GMT)
commit9fdfaaf9af621d45c849061ea05bd3f2c37232c8 (patch)
tree6813ab4126dc720f5a4003a9b0ba5b09a19590ba /Objects/complexobject.c
parent85a896902cd83686ce0c5b8016b361914d588692 (diff)
downloadcpython-9fdfaaf9af621d45c849061ea05bd3f2c37232c8.zip
cpython-9fdfaaf9af621d45c849061ea05bd3f2c37232c8.tar.gz
cpython-9fdfaaf9af621d45c849061ea05bd3f2c37232c8.tar.bz2
Fix compiler warning about finite() missing on Solaris.
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c4
1 files changed, 4 insertions, 0 deletions
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.