bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914)

Include <stdlib.h> explicitly in C files.

Python.h includes <wchar.h>.
This commit is contained in:
Victor Stinner 2021-10-13 19:25:53 +02:00 committed by GitHub
parent db2b6a20cd
commit aac29af678
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 61 additions and 21 deletions

View file

@ -12,6 +12,8 @@
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "structmember.h" // PyMemberDef
#include <stdlib.h> // strtol()
PyDoc_STRVAR(pickle_module_doc,
"Optimized C implementation for the Python pickle module.");