build: Add missing <cstring> includes for MinGW compatibility

This commit is contained in:
Rémi Verschelde 2022-01-18 12:20:35 +01:00 committed by Hermet Park
parent 4e14e30447
commit 0c6c37b616
6 changed files with 7 additions and 0 deletions

View file

@ -51,6 +51,7 @@
#define _USE_MATH_DEFINES //Math Constants are not defined in Standard C/C++. #define _USE_MATH_DEFINES //Math Constants are not defined in Standard C/C++.
#include <cstring>
#include <fstream> #include <fstream>
#include <float.h> #include <float.h>
#include <math.h> #include <math.h>

View file

@ -50,6 +50,7 @@
#define _USE_MATH_DEFINES //Math Constants are not defined in Standard C/C++. #define _USE_MATH_DEFINES //Math Constants are not defined in Standard C/C++.
#include <cstring>
#include <math.h> #include <math.h>
#include <clocale> #include <clocale>
#include <ctype.h> #include <ctype.h>

View file

@ -49,6 +49,7 @@
*/ */
#include <cstring>
#include <string> #include <string>
#include "tvgMath.h" #include "tvgMath.h"
#include "tvgSvgLoaderCommon.h" #include "tvgSvgLoaderCommon.h"

View file

@ -20,6 +20,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <cstring>
#include <math.h> #include <math.h>
#include <memory.h> #include <memory.h>
#include "tvgSvgUtil.h" #include "tvgSvgUtil.h"

View file

@ -20,6 +20,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <cstring>
#include <ctype.h> #include <ctype.h>
#include <string> #include <string>

View file

@ -24,6 +24,8 @@
#include "tvgTvgSaver.h" #include "tvgTvgSaver.h"
#include "tvgLzw.h" #include "tvgLzw.h"
#include <cstring>
#ifdef _WIN32 #ifdef _WIN32
#include <malloc.h> #include <malloc.h>
#else #else