Mercurial > cpython-lru_cache-weakref
diff Modules/errnomodule.c @ 5308:df87d5d1bbdf legacy-trunk
(Jack:) Mac only: get GUSI errno.h values too.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 11 Apr 1997 19:11:25 +0000 |
| parents | 07f0f21363e6 |
| children | 593f54129661 |
line wrap: on
line diff
--- a/Modules/errnomodule.c Fri Apr 11 19:09:51 1997 +0000 +++ b/Modules/errnomodule.c Fri Apr 11 19:11:25 1997 +0000 @@ -33,6 +33,11 @@ #include "Python.h" +/* Mac with GUSI has more errors than those in errno.h */ +#ifdef USE_GUSI +#include <sys/errno.h> +#endif + /* * Pull in the system error definitions */
