freebsd-ports/databases/sqlite3/files/patch-src-mem1.c
Michael Scheidell a70afcbedc - update to 3.7.10
PR:		ports/164371
Approved by:	gabor (mentor, implicit)
2012-01-22 21:00:37 +00:00

11 lines
332 B
C

--- src/mem1.c.orig 2012-01-22 16:43:59.000000000 +0400
+++ src/mem1.c 2012-01-22 16:44:42.000000000 +0400
@@ -59,7 +59,7 @@
#define SQLITE_REALLOC(x,y) realloc((x),(y))
#ifdef HAVE_MALLOC_USABLE_SIZE
-#include <malloc.h>
+#include <stdlib.h>
#define SQLITE_MALLOCSIZE(x) malloc_usable_size(x)
#else
#undef SQLITE_MALLOCSIZE