summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-11-28 16:30:06 +0000
committered <ed@FreeBSD.org>2009-11-28 16:30:06 +0000
commit0ddd9016759b13d9d90729901be9fd8f26bf799d (patch)
treece29349587af26e13d469522ca4d808fe9346c7f /sys/compat
parent0a351b5a4ad6c1b17e0ba41c57c50a6a878a037b (diff)
downloadFreeBSD-src-0ddd9016759b13d9d90729901be9fd8f26bf799d.zip
FreeBSD-src-0ddd9016759b13d9d90729901be9fd8f26bf799d.tar.gz
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.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_termios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_termios.c b/sys/compat/svr4/svr4_termios.c
index 37a6783..8195a41 100644
--- a/sys/compat/svr4/svr4_termios.c
+++ b/sys/compat/svr4/svr4_termios.c
@@ -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>
OpenPOWER on IntegriCloud