mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
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:
parent
db2b6a20cd
commit
aac29af678
29 changed files with 61 additions and 21 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "pycore_traceback.h" // _Py_DumpTracebackThreads()
|
||||
|
||||
#include <locale.h> // setlocale()
|
||||
#include <stdlib.h> // getenv()
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include <mach-o/loader.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue