Lottie loader: fix compilation on windows

strlen() was used in tvgLottieModel.h without the inclusion of
cstring. This patch fixes this
This commit is contained in:
Vincent Torri 2024-02-22 21:02:07 +01:00 committed by Hermet Park
parent a92633e1d8
commit c1ea9d4585

View file

@ -23,6 +23,8 @@
#ifndef _TVG_LOTTIE_MODEL_H_
#define _TVG_LOTTIE_MODEL_H_
#include <cstring>
#include "tvgCommon.h"
#include "tvgRender.h"
#include "tvgLottieProperty.h"
@ -621,4 +623,4 @@ struct LottieComposition
bool initiated = false;
};
#endif //_TVG_LOTTIE_MODEL_H_
#endif //_TVG_LOTTIE_MODEL_H_