]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add <errno.h>.
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:09:14 +0000 (23:09 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:09:14 +0000 (23:09 +0000)
Modules/mathmodule.c

index e811088264f35aae1b136b3dbdf51db06a78fe2e..e45e64f9ade404e77bc6a30f9d7bb4f2b1b44a30 100644 (file)
@@ -2,6 +2,11 @@
 
 #include "allobjects.h"
 
+#include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
+
 #include "modsupport.h"
 
 #include <math.h>