include missing headers for strcmp(), strdup() and realloc()

This commit is contained in:
Vincent Torri 2023-12-13 02:13:12 +01:00 committed by Hermet Park
parent dea58a242b
commit 6ef8c9d78c
3 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,7 @@
#include <memory.h> #include <memory.h>
#include <cstdint> #include <cstdint>
#include <cstdlib>
namespace tvg namespace tvg
{ {

View file

@ -21,6 +21,7 @@
*/ */
#include <queue> #include <queue>
#include <cstring>
#include "tvgCommon.h" #include "tvgCommon.h"
#include "tvgPaint.h" #include "tvgPaint.h"
@ -1098,4 +1099,4 @@ void LottieBuilder::build(LottieComposition* comp)
auto clip = Shape::gen(); auto clip = Shape::gen();
clip->appendRect(0, 0, static_cast<float>(comp->w), static_cast<float>(comp->h)); clip->appendRect(0, 0, static_cast<float>(comp->w), static_cast<float>(comp->h));
comp->scene->composite(std::move(clip), CompositeMethod::ClipPath); comp->scene->composite(std::move(clip), CompositeMethod::ClipPath);
} }

View file

@ -21,6 +21,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <cstring>
#include "gif.h" #include "gif.h"
#include "tvgGifSaver.h" #include "tvgGifSaver.h"