From def465ad4bfdddaf0e2f776f524fa596defcb4ea Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 14 Jun 2010 14:18:48 -0700 Subject: [PATCH] Include kstat.h from kmem.h It turns out Solaris incidentally includes kstat.h from kmem.h. As a side effect of this certain higher level .c files which should explicitly include kstat.h don't because they happen to get it via kmem.h. To make like easier for everyone I do the same. --- include/sys/kmem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/kmem.h b/include/sys/kmem.h index b6da6d0ac2..a5ee4e0df2 100644 --- a/include/sys/kmem.h +++ b/include/sys/kmem.h @@ -37,6 +37,7 @@ #include #include #include +#include /* * Memory allocation interfaces