]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
forward declare struct thread
authorWarner Losh <imp@FreeBSD.org>
Mon, 11 Oct 2021 18:59:39 +0000 (12:59 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 11 Oct 2021 18:59:39 +0000 (12:59 -0600)
commitcdccd11b366d3c64331176c4ffe591969c86b0e3
treeb05756401079d7f7c7bf692c7afe532efd52fa2d
parentc05b382edb173d199ddef86976d594fbbb7bbf24
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
sys/vm/swap_pager.h