mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -10,9 +10,10 @@
|
|||
#include "pycore_pystate.h" // _Py_IsMainInterpreter()
|
||||
#include "longintrepr.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h> // abs()
|
||||
|
||||
#include "clinic/longobject.c.h"
|
||||
/*[clinic input]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue