From cf29433090d8399bbdf285f58209efca384d1641 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Fri, 29 Nov 2019 03:56:01 +0000 Subject: [PATCH] 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. --- sys/kern/tty_pts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c index b8edca0d91a..dbbf35cf1a1 100644 --- a/sys/kern/tty_pts.c +++ b/sys/kern/tty_pts.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #include