From f5e4bedfe00ae14356728fee7ff60583056309bf Mon Sep 17 00:00:00 2001 From: kalgen432 <144692132+kalgen432@users.noreply.github.com> Date: Mon, 11 Sep 2023 06:54:19 -0700 Subject: [PATCH] Update pf.h to #include (for std::numeric_limits) as required by gcc 11+ With gcc 11, some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. As such, C++ programs that used standard library components without including the right headers will no longer compile. The following headers are used less widely in libstdc++ and may need to be included explicitly when compiled with GCC 11: (for std::numeric_limits) https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes --- native/src/pf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/native/src/pf.h b/native/src/pf.h index 833e6a6..b822150 100644 --- a/native/src/pf.h +++ b/native/src/pf.h @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include