summaryrefslogtreecommitdiffstats
path: root/Python/fmod.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-27 10:15:10 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-27 10:15:10 (GMT)
commit464a0a100f163025e87e7aec4b5fa26bce0f18e3 (patch)
treee2c17ebeab812a8c8092cc5310c2b3cdae74adc6 /Python/fmod.c
parent07e3a7e781591cc7e1b6c34995bf1528e40db9fa (diff)
downloadcpython-464a0a100f163025e87e7aec4b5fa26bce0f18e3.zip
cpython-464a0a100f163025e87e7aec4b5fa26bce0f18e3.tar.gz
cpython-464a0a100f163025e87e7aec4b5fa26bce0f18e3.tar.bz2
for MPW __SC__
Diffstat (limited to 'Python/fmod.c')
-rw-r--r--Python/fmod.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/Python/fmod.c b/Python/fmod.c
index 3ddab75..777166b 100644
--- a/Python/fmod.c
+++ b/Python/fmod.c
@@ -24,12 +24,15 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* Portable fmod(x, y) implementation for systems that don't have it */
-#include <math.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "mymath.h"
#include <errno.h>
double
-fmod(x, y)
- double x, y;
+fmod(double x, double y)
{
double i, f;