summaryrefslogtreecommitdiff
path: root/Modules/errnomodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-11 19:11:25 +0000
committerGuido van Rossum <guido@python.org>1997-04-11 19:11:25 +0000
commitfb421c82a953b3905b2b915dfaec7c679e73e191 (patch)
tree2818958a3a67d3f83800cef6b439eac20f9febb8 /Modules/errnomodule.c
parent54a1d0bc699ea0cbe4fbe79dfe3ddcd427ab807e (diff)
downloadcpython-git-fb421c82a953b3905b2b915dfaec7c679e73e191.tar.gz
(Jack:) Mac only: get GUSI errno.h values too.
Diffstat (limited to 'Modules/errnomodule.c')
-rw-r--r--Modules/errnomodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/errnomodule.c b/Modules/errnomodule.c
index aef671c1a8..f23e27f36b 100644
--- a/Modules/errnomodule.c
+++ b/Modules/errnomodule.c
@@ -33,6 +33,11 @@ PERFORMANCE OF THIS SOFTWARE.
#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
*/