Include <sys/tty.h> instead of <sys/termios.h>.

Right now <sys/termios.h> includes <sys/ttycom.h>, which provides the
TTY ioctls to the svr4 code. We need both struct termios and the ioctls,
so include <sys/tty.h> for now.
This commit is contained in:
Ed Schouten 2009-11-28 16:30:06 +00:00
parent 5b19140604
commit 0ab939d261

View File

@ -34,7 +34,7 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/termios.h>
#include <sys/tty.h>
#include <sys/sysproto.h>