diff options
author | Guido van Rossum <guido@python.org> | 1990-12-20 23:05:40 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-12-20 23:05:40 (GMT) |
commit | f22120ab74281d443dca2d25c9e6add5721b9b8a (patch) | |
tree | 8b77e315b5e274fbf615280b17520fbacf2bde69 | |
parent | aec78552273b8c4e44688b99e4436c23f1963e79 (diff) | |
download | cpython-f22120ab74281d443dca2d25c9e6add5721b9b8a.zip cpython-f22120ab74281d443dca2d25c9e6add5721b9b8a.tar.gz cpython-f22120ab74281d443dca2d25c9e6add5721b9b8a.tar.bz2 |
Changed include of <errno.h>
-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 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)); |