summaryrefslogtreecommitdiff
path: root/lib/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/malloc')
-rw-r--r--lib/malloc/stats.c1
-rw-r--r--lib/malloc/table.c1
-rwxr-xr-xlib/malloc/xleaktrace4
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/malloc/stats.c b/lib/malloc/stats.c
index 18c3cef..0d119fa 100644
--- a/lib/malloc/stats.c
+++ b/lib/malloc/stats.c
@@ -28,6 +28,7 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
+#include <string.h>
#include "mstats.h"
diff --git a/lib/malloc/table.c b/lib/malloc/table.c
index ee37b3a..b9310a6 100644
--- a/lib/malloc/table.c
+++ b/lib/malloc/table.c
@@ -22,6 +22,7 @@
#endif
#include <stdio.h>
+#include <string.h>
#include "imalloc.h"
#include "table.h"
diff --git a/lib/malloc/xleaktrace b/lib/malloc/xleaktrace
index 573437c..d7e3cd5 100755
--- a/lib/malloc/xleaktrace
+++ b/lib/malloc/xleaktrace
@@ -5,6 +5,10 @@
#
# NOTE: we ignore `realloc' tags because they're just extra information
#
+# Copyright (c) 2001 Chester Ramey
+# Permission is hereby granted to deal in this Software without restriction.
+# THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
+#
# Chet Ramey
# chet@po.cwru.edu
#