Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 90:5cb843bc87fc legacy-trunk
Changed include of <errno.h>
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 20 Dec 1990 23:05:40 +0000 |
| parents | a6934380c6e7 |
| children | 853b736a6a9e |
line wrap: on
line diff
--- a/Python/errors.c Thu Dec 20 23:03:58 1990 +0000 +++ b/Python/errors.c Thu Dec 20 23:05:40 1990 +0000 @@ -31,9 +31,12 @@ err_setval() has to be changed. */ -#include "errno.h" +#include "allobjects.h" -#include "allobjects.h" +#include <errno.h> +#ifndef errno +extern int errno; +#endif #include "errcode.h"
