summaryrefslogtreecommitdiffstats
path: root/sys/dev/kbd
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-07-24 09:54:10 +0000
committered <ed@FreeBSD.org>2008-07-24 09:54:10 +0000
commit308672b0059651d854c35e673c94d0f76d84c25f (patch)
treec85f98b931021ee3e7006f737923b58dba825383 /sys/dev/kbd
parent6b178cd86d1b89e0750a8253263480cab5f10928 (diff)
downloadFreeBSD-src-308672b0059651d854c35e673c94d0f76d84c25f.zip
FreeBSD-src-308672b0059651d854c35e673c94d0f76d84c25f.tar.gz
Don't include <sys/tty.h> in non-TTY drivers.
The kbd, kbdmux, ugen and uhid drivers included <sys/tty.h>, because they needed clists, which have been moved to <sys/clist.h> some time ago. In the MPSAFE TTY branch, <sys/tty.h> does not include <sys/clist.h>, which means we have to teach these drivers to include this header file directly. Approved by: philip (mentor, implicit)
Diffstat (limited to 'sys/dev/kbd')
-rw-r--r--sys/dev/kbd/kbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/kbd/kbd.c b/sys/dev/kbd/kbd.c
index 15a3e22..53b118d 100644
--- a/sys/dev/kbd/kbd.c
+++ b/sys/dev/kbd/kbd.c
@@ -34,12 +34,13 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
+#include <sys/clist.h>
#include <sys/conf.h>
#include <sys/fcntl.h>
-#include <sys/tty.h>
#include <sys/poll.h>
#include <sys/priv.h>
#include <sys/proc.h>
+#include <sys/selinfo.h>
#include <sys/sysctl.h>
#include <sys/uio.h>
OpenPOWER on IntegriCloud