Patch source: https://github.com/pybind/pybind11/commit/51c2aa16de5b50fe4be6a0016d6090d4a831899e From 51c2aa16de5b50fe4be6a0016d6090d4a831899e Mon Sep 17 00:00:00 2001 From: wenqing Date: Fri, 28 Jun 2024 16:12:32 +0200 Subject: [PATCH] Fixed a compilation error with gcc 14 (#5208) --- include/pybind11/typing.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pybind11/typing.h b/include/pybind11/typing.h index c8ba18d499..b0feb9464a 100644 --- a/include/pybind11/typing.h +++ b/include/pybind11/typing.h @@ -14,6 +14,8 @@ #include "cast.h" #include "pytypes.h" +#include + PYBIND11_NAMESPACE_BEGIN(PYBIND11_NAMESPACE) PYBIND11_NAMESPACE_BEGIN(typing)