]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Include kstat.h from kmem.h
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Jun 2010 21:18:48 +0000 (14:18 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Jun 2010 21:18:48 +0000 (14:18 -0700)
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

index b6da6d0ac2446e1238a99cef30cbe46b810c7518..a5ee4e0df2d7874dc7c3f7573d30d3286825c253 100644 (file)
@@ -37,6 +37,7 @@
 #include <sys/types.h>
 #include <sys/debug.h>
 #include <sys/vmsystm.h>
+#include <sys/kstat.h>
 
 /*
  * Memory allocation interfaces