opnsense-ports/security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

15 lines
421 B
C

--- QuantisExtensions/QuantisExtractor_C.c.orig 2012-09-24 15:42:36.000000000 +0200
+++ QuantisExtensions/QuantisExtractor_C.c 2012-09-24 15:42:56.000000000 +0200
@@ -53,7 +53,11 @@
#include "../Quantis/Conversion.h"
#include <stdio.h>
#include <math.h>
-#include <malloc.h>
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#else
+# include <stdlib.h>
+#endif
/* Size of the buffer used for QuantisReadXXX methods */