gh-106320: winconsoleio.c includes pycore_pyerrors.h (#108720)

Fix compiler warning:

    warning C4013: '_PyErr_ChainExceptions1' undefined
This commit is contained in:
Victor Stinner 2023-08-31 16:13:53 +02:00 committed by GitHub
parent bd58389cdd
commit dd32611f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@
#include "Python.h" #include "Python.h"
#include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH #include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH
#include "pycore_object.h" // _PyObject_GC_UNTRACK() #include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_pyerrors.h" // _PyErr_ChainExceptions1()
#ifdef HAVE_WINDOWS_CONSOLE_IO #ifdef HAVE_WINDOWS_CONSOLE_IO