]> granicus.if.org Git - php/commitdiff
hopefully silence compile warnings on Solaris related to HUGEVAL being
authorSterling Hughes <sterling@php.net>
Tue, 15 Oct 2002 14:51:01 +0000 (14:51 +0000)
committerSterling Hughes <sterling@php.net>
Tue, 15 Oct 2002 14:51:01 +0000 (14:51 +0000)
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.

Bug #: 19807

ext/standard/math.c

index abc5fc9098cf8233f02b2935ae60411c2ddfaf5d..92d4d8214ad0c4e31ab0b968b1686dba8995f26c 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <math.h>
 #include <float.h>
+#include <stdlib.h>
 
 #ifndef M_PI
 #define M_PI 3.14159265358979323846
@@ -1078,6 +1079,6 @@ PHP_FUNCTION(fmod)
  * tab-width: 4
  * c-basic-offset: 4
  * End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
+ * vim600: fdm=marker
+ * vim: noet sw=4 ts=4
  */