]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Changed include of <errno.h>
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:05:40 +0000 (23:05 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:05:40 +0000 (23:05 +0000)
Python/errors.c

index 7424b0cae1e6d64e60fa02c7ce1b5d8914961c77..7c66f65af27cfcff214a63c4680a203d9881a80a 100644 (file)
   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));