summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-23 18:22:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-23 19:44:13 +0200
commitfb67a685a934d35fc20303aeda4c527660edcbeb (patch)
treeeed9412eff08cab7e56b9af6b29511a858939b4d /thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp
parent3fb1f258bea0ca733af8ac133a686cf63e23069f (diff)
thorvg: Sync a couple fixes from upstream
We're still formally tracking v0.8.1, those fixes don't impact the library features. I didn't bother documenting them with patches as they will likely soon make their way to either a v0.8.2 or v0.9.0.
Diffstat (limited to 'thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp')
-rw-r--r--thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp b/thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp
index aa54d21342..fca313b430 100644
--- a/thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp
+++ b/thirdparty/thorvg/src/savers/tvg/tvgTvgSaver.cpp
@@ -28,6 +28,8 @@
#ifdef _WIN32
#include <malloc.h>
+#elif defined(__FreeBSD__)
+ #include <stdlib.h>
#else
#include <alloca.h>
#endif