Merge pull request #325 from tpambor/fix-missing-include
Add missing include for malloc
This commit is contained in:
commit
0b87ecb173
|
|
@ -196,6 +196,7 @@ inline int64_t i64round(double x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
|
# include <cstdlib>
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
static inline char*strndup(const char*s, size_t n)
|
static inline char*strndup(const char*s, size_t n)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue