diff options
author | ed <ed@FreeBSD.org> | 2008-07-24 09:54:10 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-07-24 09:54:10 +0000 |
commit | 308672b0059651d854c35e673c94d0f76d84c25f (patch) | |
tree | c85f98b931021ee3e7006f737923b58dba825383 /sys/dev/kbd/kbd.c | |
parent | 6b178cd86d1b89e0750a8253263480cab5f10928 (diff) | |
download | FreeBSD-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/kbd.c')
-rw-r--r-- | sys/dev/kbd/kbd.c | 3 |
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> |