Merge pull request #325 from tpambor/fix-missing-include

Add missing include for malloc
This commit is contained in:
martinwhitaker 2020-06-02 20:56:37 +01:00 committed by GitHub
commit 0b87ecb173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ inline int64_t i64round(double x)
#endif
#ifdef __MINGW32__
# include <cstdlib>
# include <string.h>
static inline char*strndup(const char*s, size_t n)
{