def465ad4b
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.