summaryrefslogtreecommitdiffstats
path: root/Modules/errnomodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-11 19:11:25 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-11 19:11:25 (GMT)
commitfb421c82a953b3905b2b915dfaec7c679e73e191 (patch)
tree2818958a3a67d3f83800cef6b439eac20f9febb8 /Modules/errnomodule.c
parent54a1d0bc699ea0cbe4fbe79dfe3ddcd427ab807e (diff)
downloadcpython-fb421c82a953b3905b2b915dfaec7c679e73e191.zip
cpython-fb421c82a953b3905b2b915dfaec7c679e73e191.tar.gz
cpython-fb421c82a953b3905b2b915dfaec7c679e73e191.tar.bz2
(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 aef671c..f23e27f 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
*/