summaryrefslogtreecommitdiff
path: root/math/chaco/files/patch-util+smalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/chaco/files/patch-util+smalloc.c')
-rw-r--r--math/chaco/files/patch-util+smalloc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/chaco/files/patch-util+smalloc.c b/math/chaco/files/patch-util+smalloc.c
new file mode 100644
index 000000000000..475415428159
--- /dev/null
+++ b/math/chaco/files/patch-util+smalloc.c
@@ -0,0 +1,11 @@
+--- 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 */