git: 78919798e79e - main - kern_poll: include sys/sched.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Feb 2023 21:13:41 UTC
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=78919798e79e906cdf056a69e5abd6cbe93a1421 commit 78919798e79e906cdf056a69e5abd6cbe93a1421 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2023-02-09 21:08:33 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2023-02-09 21:13:02 +0000 kern_poll: include sys/sched.h For sched_relinquish(). This fixes the build for some kernel configs. Reported by: Jenkins Fixes: 1029dab63457 ("mi_switch(): clean up switch types and their usage") --- sys/kern/kern_poll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 64deb7132710..0f6650b50a5c 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/epoch.h> #include <sys/eventhandler.h> #include <sys/resourcevar.h> +#include <sys/sched.h> #include <sys/socket.h> /* needed by net/if.h */ #include <sys/sockio.h> #include <sys/sysctl.h>