summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-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;