summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-05-29 17:27:52 +0000
committerrwatson <rwatson@FreeBSD.org>2005-05-29 17:27:52 +0000
commit75c0ea028315e6414a6ada857afaef370f3f745c (patch)
treed8d8c29f8bed31d8f72a9cd7095eda56fae6d98f
parent2163cbcb0f9551e628dee386f47fc677c08e38c1 (diff)
downloadFreeBSD-src-75c0ea028315e6414a6ada857afaef370f3f745c.zip
FreeBSD-src-75c0ea028315e6414a6ada857afaef370f3f745c.tar.gz
Due to a last minute change in the #ifdefing in malloc.h before committing,
a nested include of param.h is required so that MAXCPU is visible to all consumers of sys/malloc.h. In an earlier version of the patch, the malloc_type_internal structure was only conditionally visible. Pointed out by: delphij
-rw-r--r--sys/sys/malloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index 19ae149..eab2cf2 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -35,6 +35,7 @@
#ifndef _SYS_MALLOC_H_
#define _SYS_MALLOC_H_
+#include <sys/param.h>
#include <sys/queue.h>
#include <sys/_lock.h>
#include <sys/_mutex.h>
OpenPOWER on IntegriCloud