]> granicus.if.org Git - php/commitdiff
Include <math.h> in php_math.h. This is necessary, because we might
authorSascha Schumann <sas@php.net>
Tue, 13 Jun 2000 16:35:40 +0000 (16:35 +0000)
committerSascha Schumann <sas@php.net>
Tue, 13 Jun 2000 16:35:40 +0000 (16:35 +0000)
otherwise redefine system macros.

ext/standard/php_math.h

index 77ee5363dff9b4d5b14a176b8182c573ab639ba7..e4127322c39eda4345086e4b55f311405cfcd414 100644 (file)
@@ -67,6 +67,7 @@ PHP_FUNCTION(number_format);
 PHP_FUNCTION(deg2rad);
 PHP_FUNCTION(rad2deg);
 
+#include <math.h>
 
 #ifndef M_E
 #define M_E            2.7182818284590452354   /* e */