]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106320: winconsoleio.c includes pycore_pyerrors.h (#108720)
authorVictor Stinner <vstinner@python.org>
Thu, 31 Aug 2023 14:13:53 +0000 (16:13 +0200)
committerGitHub <noreply@github.com>
Thu, 31 Aug 2023 14:13:53 +0000 (14:13 +0000)
Fix compiler warning:

    warning C4013: '_PyErr_ChainExceptions1' undefined

Modules/_io/winconsoleio.c

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