HomeFreeBSD

forward declare struct thread

Description

forward declare struct thread

sys/sysctl.h moved struct thread forward declaration under #ifdef
_KERNEL and so this header fails when included from userland. Add a
forward declaration here.

Fixes: 99eefc727eba
Sponsored by: Netflix

Details

Provenance
impAuthored on Oct 11 2021, 6:59 PM
Parents
rGc05b382edb17: Revert "bootstrap: No need to disable shared libraries for bootstrap tools"
Branches
Unknown
Tags
Unknown