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 <cstdint>
#include <cstdlib>
namespace tvg
{

View file

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

View file

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