Changed include of <errno.h>
diff --git a/Python/errors.c b/Python/errors.c
index 7424b0c..7c66f65 100644
--- a/Python/errors.c
+++ b/Python/errors.c
@@ -31,10 +31,13 @@
   err_setval() has to be changed.
 */
 
-#include "errno.h"
-
 #include "allobjects.h"
 
+#include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
+
 #include "errcode.h"
 
 extern char *strerror PROTO((int));