mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
include missing headers for strcmp(), strdup() and realloc()
This commit is contained in:
parent
dea58a242b
commit
6ef8c9d78c
3 changed files with 4 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
#include <cstdlib>
|
||||||
|
|
||||||
namespace tvg
|
namespace tvg
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <cstring>
|
||||||
#include "gif.h"
|
#include "gif.h"
|
||||||
#include "tvgGifSaver.h"
|
#include "tvgGifSaver.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue