commit | f22120ab74281d443dca2d25c9e6add5721b9b8a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Dec 20 23:05:40 1990 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Dec 20 23:05:40 1990 +0000 |
tree | 8b77e315b5e274fbf615280b17520fbacf2bde69 | |
parent | aec78552273b8c4e44688b99e4436c23f1963e79 [diff] [blame] |
Changed include of <errno.h>
diff --git a/Python/errors.c b/Python/errors.c index 7424b0c..7c66f65 100644 --- a/Python/errors.c +++ b/Python/errors.c
@@ -31,10 +31,13 @@ err_setval() has to be changed. */ -#include "errno.h" - #include "allobjects.h" +#include <errno.h> +#ifndef errno +extern int errno; +#endif + #include "errcode.h" extern char *strerror PROTO((int));