Author: kevans Date: Fri Nov 29 03:56:01 2019 New Revision: 355206 URL: https://svnweb.freebsd.org/changeset/base/355206
Log: tty_pts: don't rely on tty header pollution for sys/mutex.h tty_pts.c relies on sys/tty.h for sys/mutex.h. Include it directly instead of relying on this pollution to ease the diff for anyone that wants to try converting the tty lock to anything other than a mutex. Modified: head/sys/kern/tty_pts.c Modified: head/sys/kern/tty_pts.c ============================================================================== --- head/sys/kern/tty_pts.c Fri Nov 29 03:51:01 2019 (r355205) +++ head/sys/kern/tty_pts.c Fri Nov 29 03:56:01 2019 (r355206) @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/limits.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/poll.h> #include <sys/proc.h> #include <sys/racct.h> _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"