Debian Codegraph @

thirdparty/thorvg/patches/0003-explicit-includes.patch

raw
1 diff --git a/thirdparty/thorvg/src/common/tvgCompressor.cpp b/thirdparty/thorvg/src/common/tvgCompressor.cpp
2 index 714f21e07c..d97ae85705 100644
3 --- a/thirdparty/thorvg/src/common/tvgCompressor.cpp
4 +++ b/thirdparty/thorvg/src/common/tvgCompressor.cpp
5 @@ -57,6 +57,7 @@
6
7
8
9 +#include <cstdlib>
10 #include <string>
11 #include <memory.h>
12 #include "tvgCompressor.h"
13 diff --git a/thirdparty/thorvg/src/common/tvgStr.cpp b/thirdparty/thorvg/src/common/tvgStr.cpp
14 index 957fe18d53..fe2e13bc71 100644
15 --- a/thirdparty/thorvg/src/common/tvgStr.cpp
16 +++ b/thirdparty/thorvg/src/common/tvgStr.cpp
17 @@ -22,6 +22,7 @@
18
19 #include "config.h"
20 #include <cmath>
21 +#include <cstdlib>
22 #include <cstring>
23 #include <memory.h>
24 #include "tvgMath.h"
25 diff --git a/thirdparty/thorvg/src/loaders/svg/tvgSvgUtil.cpp b/thirdparty/thorvg/src/loaders/svg/tvgSvgUtil.cpp
26 index 542cd17e56..45fdc9cf0d 100644
27 --- a/thirdparty/thorvg/src/loaders/svg/tvgSvgUtil.cpp
28 +++ b/thirdparty/thorvg/src/loaders/svg/tvgSvgUtil.cpp
29 @@ -20,6 +20,7 @@
30 * SOFTWARE.
31 */
32
33 +#include <cstdlib>
34 #include <cstring>
35 #include "tvgSvgUtil.h"
36