libprocstat: forward declare struct kinfo_proc

This allows libprocstat.h to be included without sys/user.h as
documented in the manpage.
This commit is contained in:
Brooks Davis 2022-08-26 23:20:32 +01:00
parent 0b01a13b8a
commit a28f833532

View File

@ -105,6 +105,7 @@
#define PS_FST_FFLAG_HASLOCK 0x4000
struct kinfo_kstack;
struct kinfo_proc;
struct kinfo_vmentry;
struct procstat;
struct ptrace_lwpinfo;