summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mathmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index e811088..e45e64f 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -2,6 +2,11 @@
#include "allobjects.h"
+#include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
+
#include "modsupport.h"
#include <math.h>