Fix leaked symbols on FreeBSD [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-10-12 15:06:45 +09:00
parent feac15c1f3
commit 9859dbc7fd
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
2 changed files with 4 additions and 0 deletions

View file

@ -836,6 +836,9 @@ rb_print_backtrace(FILE *errout)
}
#ifdef HAVE_LIBPROCSTAT
struct procstat;
struct kinfo_proc;
static void procstat_vm(struct procstat *, struct kinfo_proc *, FILE *);
#include "missing/procstat_vm.c"
#endif