diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/runtime/c/gu/seq.c | 2 | ||||
| -rw-r--r-- | src/runtime/c/gu/string.c | 2 | ||||
| -rw-r--r-- | src/runtime/c/pgf/reader.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/runtime/c/gu/seq.c b/src/runtime/c/gu/seq.c index 54c92f4de..2c3d6c3e3 100644 --- a/src/runtime/c/gu/seq.c +++ b/src/runtime/c/gu/seq.c @@ -4,7 +4,9 @@ #include <gu/str.h> #include <gu/assert.h> #include <stdlib.h> +#ifdef __MINGW32__ #include <malloc.h> +#endif struct GuSeq { size_t len; diff --git a/src/runtime/c/gu/string.c b/src/runtime/c/gu/string.c index 9a1677745..969ac709a 100644 --- a/src/runtime/c/gu/string.c +++ b/src/runtime/c/gu/string.c @@ -6,7 +6,9 @@ #include <gu/utf8.h> #include <gu/assert.h> #include <stdlib.h> +#ifdef __MINGW32__ #include <malloc.h> +#endif struct GuStringBuf { GuBuf* buf; diff --git a/src/runtime/c/pgf/reader.c b/src/runtime/c/pgf/reader.c index 8163f16ed..7b8ea91bc 100644 --- a/src/runtime/c/pgf/reader.c +++ b/src/runtime/c/pgf/reader.c @@ -14,7 +14,9 @@ #include <gu/utf8.h> #include <math.h> #include <stdlib.h> +#ifdef __MINGW32__ #include <malloc.h> +#endif // // PgfReader |
