From: Brian Behlendorf Date: Mon, 14 Jun 2010 21:18:48 +0000 (-0700) Subject: Include kstat.h from kmem.h X-Git-Tag: spl-0.5.0~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=def465ad4bfdddaf0e2f776f524fa596defcb4ea;p=spl 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. --- diff --git a/include/sys/kmem.h b/include/sys/kmem.h index b6da6d0..a5ee4e0 100644 --- a/include/sys/kmem.h +++ b/include/sys/kmem.h @@ -37,6 +37,7 @@ #include #include #include +#include /* * Memory allocation interfaces