summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_operators.c')
-rw-r--r--Zend/zend_operators.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index bcfe30c6f8..cd7ad72b09 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -36,6 +36,10 @@
#ifndef finite /* in case it's already a macro */
#define finite(a) isfinite(a) /* HPUX 11 only has isfinite() */
#endif
+#else
+#if HAVE_IEEEFP_H
+#include <ieeefp.h>
+#endif
#endif
#if WITH_BCMATH