summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2007-12-12 17:56:10 +0000
committermacallan <macallan@NetBSD.org>2007-12-12 17:56:10 +0000
commitf53566168d9fbc6dd0bef710ffa4f1519b360edf (patch)
tree1981279a2092a222a8428be62a2ba432c5bbd615 /lib/libc/stdlib/malloc.c
parentc747551b64ade7ce606842b3176904e265b6f084 (diff)
make this compile again
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r--lib/libc/stdlib/malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index ad4f7f35e0d..d54d7f9353e 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: malloc.c,v 1.50 2007/12/04 17:45:07 christos Exp $ */
+/* $NetBSD: malloc.c,v 1.51 2007/12/12 17:56:10 macallan Exp $ */
/*
* ----------------------------------------------------------------------------
@@ -82,6 +82,7 @@ void utrace(struct ut *, int);
# define _MALLOC_UNLOCK() if (__isthreaded) _SPINUNLOCK(&thread_lock);
#endif /* __FreeBSD__ */
+#include <sys/types.h>
#if defined(__NetBSD__)
# define malloc_minsize 16U
# define HAS_UTRACE
@@ -89,9 +90,8 @@ void utrace(struct ut *, int);
#include <sys/cdefs.h>
#include "extern.h"
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: malloc.c,v 1.50 2007/12/04 17:45:07 christos Exp $");
+__RCSID("$NetBSD: malloc.c,v 1.51 2007/12/12 17:56:10 macallan Exp $");
#endif /* LIBC_SCCS and not lint */
-#include <sys/types.h>
int utrace(const char *, void *, size_t);
#include <reentrant.h>