mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
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:
@@ -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;
|
||||||
|
|||||||
@@ -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];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user