diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/errors.c | 1 | ||||
-rw-r--r-- | Python/sysmodule.c | 2 | ||||
-rw-r--r-- | Python/thread.c | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/Python/errors.c b/Python/errors.c index 211881ca5e..023234974c 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -6,6 +6,7 @@ #include "pycore_initconfig.h" // _PyStatus_ERR() #include "pycore_pyerrors.h" // _PyErr_Format() #include "pycore_pystate.h" // _PyThreadState_GET() +#include "pycore_structseq.h" // _PyStructSequence_FiniType() #include "pycore_sysmodule.h" // _PySys_Audit() #include "pycore_traceback.h" // _PyTraceBack_FromFrame() diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 515994f049..7597ea2ea9 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -27,7 +27,7 @@ Data members: #include "pycore_pylifecycle.h" // _PyErr_WriteUnraisableDefaultHook() #include "pycore_pymem.h" // _PyMem_SetDefaultAllocator() #include "pycore_pystate.h" // _PyThreadState_GET() -#include "pycore_structseq.h" // PyStructSequence_InitType() +#include "pycore_structseq.h" // _PyStructSequence_InitType() #include "pycore_tuple.h" // _PyTuple_FromArray() #include "code.h" diff --git a/Python/thread.c b/Python/thread.c index c2457c4f8f..c6b16251a0 100644 --- a/Python/thread.c +++ b/Python/thread.c @@ -6,7 +6,8 @@ Stuff shared by all thread_*.h files is collected here. */ #include "Python.h" -#include "pycore_pystate.h" // _PyInterpreterState_GET() +#include "pycore_pystate.h" // _PyInterpreterState_GET() +#include "pycore_structseq.h" // _PyStructSequence_FiniType() #ifndef _POSIX_THREADS /* This means pthreads are not implemented in libc headers, hence the macro |