summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2011-04-20 20:26:57 (GMT)
committerJesus Cea <jcea@jcea.es>2011-04-20 20:26:57 (GMT)
commit2fc8b8749952144679b1f60ee8f9cfdd01d911a7 (patch)
tree854562cab8fa60edb13aa3709bade0be73a39944 /Include
parentc3ab577f347b290e1af37e5bd7748e8d3f5c2589 (diff)
downloadcpython-2fc8b8749952144679b1f60ee8f9cfdd01d911a7.zip
cpython-2fc8b8749952144679b1f60ee8f9cfdd01d911a7.tar.gz
cpython-2fc8b8749952144679b1f60ee8f9cfdd01d911a7.tar.bz2
Port 5b607cd8c71b (closes #11892)
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 13396a2..17a5379 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -279,6 +279,10 @@ typedef Py_intptr_t Py_ssize_t;
#include <stdlib.h>
+#ifdef HAVE_IEEEFP_H
+#include <ieeefp.h> /* needed for 'finite' declaration on some platforms */
+#endif
+
#include <math.h> /* Moved here from the math section, before extern "C" */
/********************************************