summaryrefslogtreecommitdiff
path: root/Python/fmod.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-27 10:15:10 +0000
committerGuido van Rossum <guido@python.org>1995-02-27 10:15:10 +0000
commitf17be5df1183e7f882bda161b3d73fef47ccfb6c (patch)
tree58f4dd72fb13ce883e3519541a74d23c0eb4d553 /Python/fmod.c
parent68aa37fc0b08f8231c4f83fa2c450cdc113ac0b1 (diff)
downloadcpython-f17be5df1183e7f882bda161b3d73fef47ccfb6c.tar.gz
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 3ddab75abb..777166bcb6 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;