diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2022-08-26 22:20:32 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2022-08-26 22:20:32 +0000 |
| commit | a28f83353243e2298b5f89c0dd6705dfcbda77ea (patch) | |
| tree | d8d756d97ed2d0c219fdd6ffb744cbcb15c4c40b | |
| parent | 0b01a13b8a6e926f6dc5ca8ec782f730b9fe8af5 (diff) | |
| download | src-a28f83353243e2298b5f89c0dd6705dfcbda77ea.tar.gz src-a28f83353243e2298b5f89c0dd6705dfcbda77ea.zip | |
libprocstat: forward declare struct kinfo_proc
This allows libprocstat.h to be included without sys/user.h as
documented in the manpage.
| -rw-r--r-- | lib/libprocstat/libprocstat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libprocstat/libprocstat.h b/lib/libprocstat/libprocstat.h index 8736870d163e..2432adb1aec3 100644 --- a/lib/libprocstat/libprocstat.h +++ b/lib/libprocstat/libprocstat.h @@ -105,6 +105,7 @@ #define PS_FST_FFLAG_HASLOCK 0x4000 struct kinfo_kstack; +struct kinfo_proc; struct kinfo_vmentry; struct procstat; struct ptrace_lwpinfo; |
