From 225823c590748ec2fbe1f15dc7c538510177573f Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Sat, 26 Apr 2003 15:00:57 +0000 Subject: [PATCH] Add sys/user.h to the list of includes. Without it you lack a definition of 'struct kinfo_proc' for calls to kvm_getargv() and kvm_getenvv(). PR: 51322 --- lib/libkvm/kvm_getprocs.3 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3 index c4846a8cb8f7..4042a6620a78 100644 --- a/lib/libkvm/kvm_getprocs.3 +++ b/lib/libkvm/kvm_getprocs.3 @@ -50,6 +50,7 @@ .In kvm.h .In sys/param.h .In sys/sysctl.h +.In sys/user.h .\" .Fa kvm_t *kd .Ft struct kinfo_proc * .Fn kvm_getprocs "kvm_t *kd" "int op" "int arg" "int *cnt"