summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-13 17:25:53 (GMT)
committerGitHub <noreply@github.com>2021-10-13 17:25:53 (GMT)
commitaac29af6785712019d34f1a7f15b3c408a4f68ae (patch)
treeca44f1d999551118d5ab06e5994b6291d387e3e1 /Include/Python.h
parentdb2b6a20cd35781b2f5e798e880e57e6cf9b97aa (diff)
downloadcpython-aac29af6785712019d34f1a7f15b3c408a4f68ae.zip
cpython-aac29af6785712019d34f1a7f15b3c408a4f68ae.tar.gz
cpython-aac29af6785712019d34f1a7f15b3c408a4f68ae.tar.bz2
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 'Include/Python.h')
-rw-r--r--Include/Python.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 8c84c90..4f62103 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -33,7 +33,8 @@
# include <stddef.h>
#endif
-#include <assert.h>
+#include <assert.h> // assert()
+#include <wchar.h> // wchar_t
#include "pyport.h"
#include "pymacro.h"