From 20ccbcd4e423c31881d01606d950eb8df47f4f0f Mon Sep 17 00:00:00 2001 From: Sebastian Rachner Date: Sun, 15 Oct 2017 12:29:46 +0200 Subject: [PATCH] Check compiler before including malloc.h --- backend/emf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/emf.c b/backend/emf.c index 31199d53..bafd5983 100644 --- a/backend/emf.c +++ b/backend/emf.c @@ -35,7 +35,9 @@ #include #include #include +#ifdef _MSC_VER #include +#endif #include "common.h" #include "emf.h"