From 5992bbf6e58750d59d39147f21fa28603135098e Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sat, 5 Nov 2016 16:46:24 +0000 Subject: [PATCH] Malloc declaration needed for Visual Studio --- backend/pcx.c | 1 + backend/svg.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/backend/pcx.c b/backend/pcx.c index bae543ca..0eb8cad0 100644 --- a/backend/pcx.c +++ b/backend/pcx.c @@ -39,6 +39,7 @@ #ifdef _MSC_VER #include #include +#include #endif #define SSET "0123456789ABCDEF" diff --git a/backend/svg.c b/backend/svg.c index f3da93e2..d9d4c539 100644 --- a/backend/svg.c +++ b/backend/svg.c @@ -35,6 +35,10 @@ #include #include #include +#ifdef _MSC_VER +#include +#endif + #include "common.h" #define SSET "0123456789ABCDEF"