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 /Programs/_freeze_module.c | |
parent | db2b6a20cd35781b2f5e798e880e57e6cf9b97aa (diff) | |
download | cpython-aac29af6785712019d34f1a7f15b3c408a4f68ae.tar.gz cpython-aac29af6785712019d34f1a7f15b3c408a4f68ae.zip |
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 'Programs/_freeze_module.c')
-rw-r--r-- | Programs/_freeze_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Programs/_freeze_module.c b/Programs/_freeze_module.c index dd90d92e512..316c70d2c78 100644 --- a/Programs/_freeze_module.c +++ b/Programs/_freeze_module.c @@ -12,6 +12,7 @@ #include <pycore_import.h> #include <stdio.h> +#include <stdlib.h> // malloc() #include <sys/types.h> #include <sys/stat.h> #ifndef MS_WINDOWS |