summaryrefslogtreecommitdiff
path: root/ext/standard/php_math.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-06-13 16:35:40 +0000
committerSascha Schumann <sas@php.net>2000-06-13 16:35:40 +0000
commit3ce3e9ba274cd38458c895dd7007ba15fef7fbd0 (patch)
tree9b98a9b2a566a106b7bce866581e00c0e304d153 /ext/standard/php_math.h
parent66175ef9fe7cb726428ec8f9e238ea30f946c319 (diff)
downloadphp-git-3ce3e9ba274cd38458c895dd7007ba15fef7fbd0.tar.gz
Include <math.h> in php_math.h. This is necessary, because we might
otherwise redefine system macros.
Diffstat (limited to 'ext/standard/php_math.h')
-rw-r--r--ext/standard/php_math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h
index 77ee5363df..e4127322c3 100644
--- a/ext/standard/php_math.h
+++ b/ext/standard/php_math.h
@@ -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 */