Date: Fri, 29 Nov 2019 03:56:01 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r355206 - head/sys/kern Message-ID: <201911290356.xAT3u1hU029679@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911290356.xAT3u1hU029679>