summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c1
-rw-r--r--Python/perf_trampoline.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 50e29b4..ae9edc9 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -34,6 +34,7 @@
#include "pycore_flowgraph.h"
#include "pycore_intrinsics.h"
#include "pycore_long.h" // _PyLong_GetZero()
+#include "pycore_pyerrors.h" // _PyErr_WriteUnraisableMsg()
#include "pycore_pystate.h" // _Py_GetConfig()
#include "pycore_setobject.h" // _PySet_NextEntry()
#include "pycore_symtable.h" // PySTEntryObject, _PyFuture_FromAST()
diff --git a/Python/perf_trampoline.c b/Python/perf_trampoline.c
index 10675bf..0f1af30 100644
--- a/Python/perf_trampoline.c
+++ b/Python/perf_trampoline.c
@@ -133,6 +133,7 @@ any DWARF information available for them).
#include "pycore_ceval.h"
#include "pycore_frame.h"
#include "pycore_interp.h"
+#include "pycore_pyerrors.h" // _PyErr_WriteUnraisableMsg()
#ifdef PY_HAVE_PERF_TRAMPOLINE