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 | 65575e90ee35f3acd4a02a362b39e51285abae04 (patch) | |
tree | 8b77e315b5e274fbf615280b17520fbacf2bde69 /Python/errors.c | |
parent | ab6a376d5d68ad37466ed2f18e5e5298fe39ca74 (diff) | |
download | cpython-65575e90ee35f3acd4a02a362b39e51285abae04.tar.gz |
Changed include of <errno.h>
Diffstat (limited to 'Python/errors.c')
-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)); |