summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2002-10-15 14:51:01 +0000
committerSterling Hughes <sterling@php.net>2002-10-15 14:51:01 +0000
commit57440cc9842901d43e7550401cd42874f6b3c56e (patch)
treeb9a95a35fb96c8787f3625d1d32a53bea6f5cb98 /ext/standard/math.c
parentc65c18269302de59e7b657bce2e30b2726935d73 (diff)
downloadphp-git-57440cc9842901d43e7550401cd42874f6b3c56e.tar.gz
hopefully silence compile warnings on Solaris related to HUGEVAL being
undefined.. HUGEVAL is defined (well the manual would indicate so) in stdlib.h, not math.h. Bug #: 19807
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index abc5fc9098..92d4d8214a 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -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
*/