diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-17 12:32:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 12:32:43 +0100 |
commit | 978e37bb5f979cccce36613637ac2d94b43c71b2 (patch) | |
tree | 52f7eb072bacae81a0ab7a20f8875f5c01861124 /Python/marshal.c | |
parent | 0453e494b6e23c876c1bb097966f2c68ec72fada (diff) | |
download | cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.tar.gz cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.zip |
gh-131238: Add explicit includes to pycore headers (#131257)
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index cf701165251..b39c1a5b1ad 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -9,17 +9,19 @@ #include "Python.h" #include "pycore_call.h" // _PyObject_CallNoArgs() #include "pycore_code.h" // _PyCode_New() -#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION() #include "pycore_hashtable.h" // _Py_hashtable_t -#include "pycore_long.h" // _PyLong_DigitCount -#include "pycore_setobject.h" // _PySet_NextEntry() -#include "marshal.h" // Py_MARSHAL_VERSION +#include "pycore_long.h" // _PyLong_IsZero() #include "pycore_pystate.h" // _PyInterpreterState_GET() +#include "pycore_setobject.h" // _PySet_NextEntryRef() +#include "pycore_unicodeobject.h" // _PyUnicode_InternImmortal() + +#include "marshal.h" // Py_MARSHAL_VERSION #ifdef __APPLE__ # include "TargetConditionals.h" #endif /* __APPLE__ */ + /*[clinic input] module marshal [clinic start generated code]*/ |