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
0aa39111ad
commit
edf1f56c67
3 changed files with 6 additions and 1 deletions
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include <memory.h>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
|
||||
namespace tvg
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "tvgGifEncoder.h"
|
||||
#include "tvgGifSaver.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue