mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +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
|
|
@ -1,8 +1,8 @@
|
|||
/* Format bytes as hexadecimal */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_strhex.h" // _Py_strhex_with_sep()
|
||||
|
||||
#include "pycore_strhex.h" // _Py_strhex_with_sep()
|
||||
#include <stdlib.h> // abs()
|
||||
|
||||
static PyObject *_Py_strhex_impl(const char* argbuf, const Py_ssize_t arglen,
|
||||
const PyObject* sep, int bytes_per_sep_group,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue