From a6a8a005a24e1c8222556c6f07e363a1262448c2 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 21 Oct 2023 11:34:18 +0100 Subject: [PATCH] Fix compilation error with undefined shared_ptr `std::shared_ptr` requires `` header. Without it being included explicitly some compilers might fail to compile (while others might have been using the header indirectly). Fixes compilation error with GCC 12 on Raspberry Pi OS. --- software/libcariboulite/src/CaribouLite.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/software/libcariboulite/src/CaribouLite.hpp b/software/libcariboulite/src/CaribouLite.hpp index 89f673e..f7bcd42 100644 --- a/software/libcariboulite/src/CaribouLite.hpp +++ b/software/libcariboulite/src/CaribouLite.hpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include