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 0aa39111ad
commit edf1f56c67
3 changed files with 6 additions and 1 deletions

View file

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

View file

@ -20,6 +20,8 @@
* SOFTWARE.
*/
#include <cstring>
#include "tvgCommon.h"
#include "tvgPaint.h"
#include "tvgShape.h"
@ -1099,4 +1101,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

@ -20,6 +20,8 @@
* SOFTWARE.
*/
#include <cstring>
#include "tvgGifEncoder.h"
#include "tvgGifSaver.h"