From c1db6929822bb89afd66c08a419ae63aeaef1ee8 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Thu, 14 Aug 2025 21:37:12 +0200 Subject: [PATCH] FFstrbuf: wrap yyjson.h include in conditional --- src/util/FFstrbuf.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/util/FFstrbuf.h b/src/util/FFstrbuf.h index 44498d3e9..39737fed0 100644 --- a/src/util/FFstrbuf.h +++ b/src/util/FFstrbuf.h @@ -9,7 +9,12 @@ #include #include #include -#include "3rdparty/yyjson/yyjson.h" + +#ifdef FF_USE_SYSTEM_YYJSON + #include +#else + #include "3rdparty/yyjson/yyjson.h" +#endif #ifdef _WIN32 // #include