Removed include malloc.h for all non-Windows so FreeBSD compiles.

Removed include of sys/malloc.h for APPLE, probably not used.
Ticket #18
This commit is contained in:
Harald Oehlmann 2016-04-03 22:33:01 +02:00
parent f17f10fa7c
commit 90407bffce
2 changed files with 0 additions and 10 deletions

View File

@ -37,11 +37,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#ifdef __APPLE__
#include <sys/malloc.h>
#else
#include <malloc.h>
#endif
void horiz(struct zint_symbol *symbol, int row_no, int full) { void horiz(struct zint_symbol *symbol, int row_no, int full) {
int i; int i;

View File

@ -37,11 +37,6 @@
#include "reedsol.h" #include "reedsol.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef __APPLE__
#include <sys/malloc.h>
#else
#include <malloc.h>
#endif
int maxi_codeword[144]; int maxi_codeword[144];