From 19b070051c1c2b5fb6f2da8fb6422b27418c3dfa Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 15 Jul 2024 09:27:16 +0800 Subject: [PATCH] blocks,runtime: io_signature: include spdlog/*/ranges.h for using fmt::join() fmt::join() was moved into fmt/ranges.h since fmt 11, so let's include the corresponding header in spdlog for using it. Signed-off-by: Kefu Chai --- gnuradio-runtime/lib/io_signature.cc | 5 +++++ gr-blocks/lib/message_debug_impl.cc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gnuradio-runtime/lib/io_signature.cc b/gnuradio-runtime/lib/io_signature.cc index 812f444f8..76bb2aba6 100644 --- a/gnuradio-runtime/lib/io_signature.cc +++ b/gnuradio-runtime/lib/io_signature.cc @@ -16,6 +16,11 @@ #include #include +#if __has_include() +#include +#elif __has_include() +#include +#endif #include #include #include diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc index 41d312e43..373287b02 100644 --- a/gr-blocks/lib/message_debug_impl.cc +++ b/gr-blocks/lib/message_debug_impl.cc @@ -19,6 +19,11 @@ #include #include #include +#if __has_include() +#include +#elif __has_include() +#include +#endif #include #include #include -- 2.45.2