From 2c228a7b8f89e9ed8d390370abd771d4993b79d8 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 25 Feb 2022 09:25:54 +0100 Subject: bpo-46748: Don't import in public headers (GH-31553) is the standard/modern way to define embedd/extends Python free to define bool, true and false, but there are existing applications that use slightly different redefinitions, which fail if the header is included. It's OK to use stdbool outside the public headers, though. https://bugs.python.org/issue46748 --- Python/frozen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Python/frozen.c') diff --git a/Python/frozen.c b/Python/frozen.c index c5b36f73b4..8a2a724353 100644 --- a/Python/frozen.c +++ b/Python/frozen.c @@ -38,6 +38,8 @@ #include "Python.h" #include "pycore_import.h" +#include + /* Includes for frozen modules: */ /* End includes */ -- cgit v1.2.1