more solaris checks

This commit is contained in:
Doug MacEachern 2005-03-14 22:38:08 +00:00
parent 5cb9e6bfcf
commit 4afa5e179e
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,8 @@ typedef struct {
#include <sys/kstat.h> #include <sys/kstat.h>
#include <sys/sysinfo.h> #include <sys/sysinfo.h>
#include <procfs.h> #include <procfs.h>
#include <sys/proc.h>
#include <sys/user.h>
static sizeof_info_t sizeof_info[] = { static sizeof_info_t sizeof_info[] = {
/* kstat */ /* kstat */
@ -34,6 +36,8 @@ static sizeof_info_t sizeof_info[] = {
SIZEOF_INFO(prusage_t), SIZEOF_INFO(prusage_t),
SIZEOF_INFO(prcred_t), SIZEOF_INFO(prcred_t),
SIZEOF_INFO(pstatus_t), SIZEOF_INFO(pstatus_t),
SIZEOF_INFO(struct proc),
SIZEOF_INFO(struct user),
{NULL, 0} {NULL, 0}
}; };