opnsense-ports/math/chaco/files/patch-util+smalloc.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

11 lines
363 B
C

--- util/smalloc.c.orig Thu Apr 13 21:02:05 2006
+++ util/smalloc.c Thu Apr 13 21:02:47 2006
@@ -3,7 +3,7 @@
* contract DE-AC04-76DP00789 and is copyrighted by Sandia Corporation. */
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
static int nmalloc = 0; /* number of calls to malloc */
static int nfree = 0; /* number of calls to free */