summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-12-20 23:09:14 (GMT)
committerGuido van Rossum <guido@python.org>1990-12-20 23:09:14 (GMT)
commit801f473a4c8d2a4591b90e04aa3455df0541fb39 (patch)
tree72605b26d5ac1d9f5fed40b02871f0ab8dee79a6 /Modules/mathmodule.c
parentc211ee4b1398dc93185585607ed787397c4d44e9 (diff)
downloadcpython-801f473a4c8d2a4591b90e04aa3455df0541fb39.zip
cpython-801f473a4c8d2a4591b90e04aa3455df0541fb39.tar.gz
cpython-801f473a4c8d2a4591b90e04aa3455df0541fb39.tar.bz2
Add <errno.h>.
Diffstat (limited to 'Modules/mathmodule.c')
-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>