summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
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" */
/********************************************