diff options
author | Victor Stinner <vstinner@python.org> | 2021-10-13 19:25:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 19:25:53 +0200 |
commit | aac29af6785712019d34f1a7f15b3c408a4f68ae (patch) | |
tree | ca44f1d999551118d5ab06e5994b6291d387e3e1 /Python/pystrhex.c | |
parent | db2b6a20cd35781b2f5e798e880e57e6cf9b97aa (diff) | |
download | cpython-git-aac29af6785712019d34f1a7f15b3c408a4f68ae.tar.gz |
bpo-45434: pyport.h no longer includes <stdlib.h> (GH-28914)
Include <stdlib.h> explicitly in C files.
Python.h includes <wchar.h>.
Diffstat (limited to 'Python/pystrhex.c')
-rw-r--r-- | Python/pystrhex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystrhex.c b/Python/pystrhex.c index f7fe3b6eb8..880af44ea0 100644 --- a/Python/pystrhex.c +++ b/Python/pystrhex.c @@ -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, |