freebsd-ports/security/quantis/files/patch-QuantisExtensions_QuantisExtractor_C.c
Alex Dupre 31f4e18f6d - Update to v12.09.12 release
- Switch to OptionsNG
- Pet portlint
2012-09-24 14:22:28 +00: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 */