summaryrefslogtreecommitdiffstats
path: root/Modules/_io
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-31 14:13:53 (GMT)
committerGitHub <noreply@github.com>2023-08-31 14:13:53 (GMT)
commitdd32611f4f1cff4a79135f322972dfbfaebf5d6e (patch)
treec6ba4303160c67fc55d060c78b049bfe9d6fce29 /Modules/_io
parentbd58389cddb0d9f294ba4468ae990014660e23d4 (diff)
downloadcpython-dd32611f4f1cff4a79135f322972dfbfaebf5d6e.zip
cpython-dd32611f4f1cff4a79135f322972dfbfaebf5d6e.tar.gz
cpython-dd32611f4f1cff4a79135f322972dfbfaebf5d6e.tar.bz2
gh-106320: winconsoleio.c includes pycore_pyerrors.h (#108720)
Fix compiler warning: warning C4013: '_PyErr_ChainExceptions1' undefined
Diffstat (limited to 'Modules/_io')
-rw-r--r--Modules/_io/winconsoleio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_io/winconsoleio.c b/Modules/_io/winconsoleio.c
index e10a22c..50b8818 100644
--- a/Modules/_io/winconsoleio.c
+++ b/Modules/_io/winconsoleio.c
@@ -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