From ce8aa928469fe14262165fbed01f20f53aa9c6de Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Fri, 6 Dec 2019 14:09:39 +0100 Subject: [PATCH] Include malloc.h only for MS_VC. Other platforms have it in stdlib.h --- backend/reedsol.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/reedsol.c b/backend/reedsol.c index b1610800..0283fcd7 100644 --- a/backend/reedsol.c +++ b/backend/reedsol.c @@ -49,7 +49,9 @@ // size. #include // only needed for debug (main) +#ifdef _MSC_VER #include +#endif #include "reedsol.h" static int logmod; // 2**symsize - 1 static int rlen;