summaryrefslogtreecommitdiff
path: root/Objects/floatobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2008-03-28 05:34:59 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2008-03-28 05:34:59 +0000
commit9fdfaaf9af621d45c849061ea05bd3f2c37232c8 (patch)
tree6813ab4126dc720f5a4003a9b0ba5b09a19590ba /Objects/floatobject.c
parent85a896902cd83686ce0c5b8016b361914d588692 (diff)
downloadcpython-git-9fdfaaf9af621d45c849061ea05bd3f2c37232c8.tar.gz
Fix compiler warning about finite() missing on Solaris.
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r--Objects/floatobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 848a47fe2e..b832f7a483 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__)