From a361924887a5a8b12a5721aaa7e7284321f27713 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 22 Feb 2024 21:02:07 +0100 Subject: [PATCH] Lottie loader: fix compilation on windows strlen() was used in tvgLottieModel.h without the inclusion of cstring. This patch fixes this --- src/loaders/lottie/tvgLottieModel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/loaders/lottie/tvgLottieModel.h b/src/loaders/lottie/tvgLottieModel.h index 42379d1a..1e6e44fe 100644 --- a/src/loaders/lottie/tvgLottieModel.h +++ b/src/loaders/lottie/tvgLottieModel.h @@ -23,6 +23,8 @@ #ifndef _TVG_LOTTIE_MODEL_H_ #define _TVG_LOTTIE_MODEL_H_ +#include + #include "tvgCommon.h" #include "tvgRender.h" #include "tvgLottieProperty.h" @@ -623,4 +625,4 @@ struct LottieComposition bool initiated = false; }; -#endif //_TVG_LOTTIE_MODEL_H_ \ No newline at end of file +#endif //_TVG_LOTTIE_MODEL_H_