more solaris checks
This commit is contained in:
parent
5cb9e6bfcf
commit
4afa5e179e
|
@ -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}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue