mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -6,8 +6,9 @@
|
|||
#include "pycore_pathconfig.h"
|
||||
#include "osdefs.h" // DELIM
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h> // getenv()
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include <mach-o/dyld.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue