]> granicus.if.org Git - python/commitdiff
(Jack:) Mac only: get GUSI errno.h values too.
authorGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 19:11:25 +0000 (19:11 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 19:11:25 +0000 (19:11 +0000)
Modules/errnomodule.c

index aef671c1a8e8b16f6f8f331d4b4f5e971e1fe68e..f23e27f36bc2073e43d6b6db22a3e10775d35586 100644 (file)
@@ -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
  */