Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb421c8

Browse files
committed
(Jack:) Mac only: get GUSI errno.h values too.
1 parent 54a1d0b commit fb421c8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Modules/errnomodule.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ PERFORMANCE OF THIS SOFTWARE.
3333

3434
#include "Python.h"
3535

36+
/* Mac with GUSI has more errors than those in errno.h */
37+
#ifdef USE_GUSI
38+
#include <sys/errno.h>
39+
#endif
40+
3641
/*
3742
* Pull in the system error definitions
3843
*/

0 commit comments

Comments
 (0)