From 90407bffce16551d0d2b6f28e0872c61be680aec Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Sun, 3 Apr 2016 22:33:01 +0200 Subject: [PATCH] Removed include malloc.h for all non-Windows so FreeBSD compiles. Removed include of sys/malloc.h for APPLE, probably not used. Ticket #18 --- backend/code1.c | 5 ----- backend/maxicode.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/backend/code1.c b/backend/code1.c index 0bd97f4c..ea1d2239 100644 --- a/backend/code1.c +++ b/backend/code1.c @@ -37,11 +37,6 @@ #include #include #include -#ifdef __APPLE__ -#include -#else -#include -#endif void horiz(struct zint_symbol *symbol, int row_no, int full) { int i; diff --git a/backend/maxicode.c b/backend/maxicode.c index 8b66d6a1..63c61708 100644 --- a/backend/maxicode.c +++ b/backend/maxicode.c @@ -37,11 +37,6 @@ #include "reedsol.h" #include #include -#ifdef __APPLE__ -#include -#else -#include -#endif int maxi_codeword[144];