From 27ce2abc7b5eeb509504d274428e721f03c009fe Mon Sep 17 00:00:00 2001 From: brianray Date: Sun, 28 Feb 2010 03:43:32 +0000 Subject: [PATCH] ifdefs needed to find malloc.h on the mac. --- backend/code1.c | 4 ++++ backend/maxicode.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/backend/code1.c b/backend/code1.c index 1a5e9ad2..506ade6d 100644 --- a/backend/code1.c +++ b/backend/code1.c @@ -25,7 +25,11 @@ #include "large.h" #include #include +#ifdef __APPLE__ +#include +#else #include +#endif void horiz(struct zint_symbol *symbol, int row_no, int full) { diff --git a/backend/maxicode.c b/backend/maxicode.c index 19c74cd2..3b60e866 100644 --- a/backend/maxicode.c +++ b/backend/maxicode.c @@ -26,7 +26,11 @@ #include "reedsol.h" #include #include +#ifdef __APPLE__ +#include +#else #include +#endif int maxi_codeword[144];