summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-15 11:45:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-15 11:45:42 +0200
commit154d0812120de761683949ed88ff0166d97a4dbe (patch)
tree0333e669eeea7ddc0d68111d6bcaf2d8875ff47c /thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp
parenta38aafca3e25a5a2b7da497f0dd4baa9d5423605 (diff)
thorvg: Sync with upstream 0.8.1
And backport fix for FreeBSD support. Fixes #60003.
Diffstat (limited to 'thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp')
-rw-r--r--thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp b/thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp
index a12689c7dd..245bc7603a 100644
--- a/thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp
+++ b/thirdparty/thorvg/src/loaders/svg/tvgXmlParser.cpp
@@ -26,6 +26,8 @@
#ifdef _WIN32
#include <malloc.h>
+#elif __FreeBSD__
+ #include<stdlib.h>
#else
#include <alloca.h>
#endif