diff options
| author | Guido van Rossum <guido@python.org> | 1990-12-20 23:05:40 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1990-12-20 23:05:40 +0000 |
| commit | f22120ab74281d443dca2d25c9e6add5721b9b8a (patch) | |
| tree | 8b77e315b5e274fbf615280b17520fbacf2bde69 /Python | |
| parent | aec78552273b8c4e44688b99e4436c23f1963e79 (diff) | |
| download | cpython-git-f22120ab74281d443dca2d25c9e6add5721b9b8a.tar.gz | |
Changed include of <errno.h>
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/errors.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c index 7424b0cae1..7c66f65af2 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)); |
