summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/src/savers
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/thorvg/src/savers')
-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