summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-03-24 12:03:06 +0000
committerbde <bde@FreeBSD.org>1997-03-24 12:03:06 +0000
commit000a68175fce5c32b33f244fd256b37845f98d82 (patch)
tree863884b022c2754fcd0c9423d596a97f0ef57211 /sys/dev/si
parenta0d9474a34143dc9663d6ae183a89674c91bf90e (diff)
downloadFreeBSD-src-000a68175fce5c32b33f244fd256b37845f98d82.zip
FreeBSD-src-000a68175fce5c32b33f244fd256b37845f98d82.tar.gz
Don't include <sys/ioctl.h> in the kernel. Stage 5: include
<sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still usually imported bogusly via <sys/termios.h>.
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 0fa4bfb..5d8429b 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.55 1997/02/22 09:37:06 peter Exp $
+ * $Id: si.c,v 1.56 1997/03/23 03:35:01 bde Exp $
*/
#ifndef lint
@@ -41,7 +41,9 @@ static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,199
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/ioctl.h>
+#if defined(COMPAT_43) || defined(COMPAT_SUNOS)
+#include <sys/ioctl_compat.h>
+#endif
#include <sys/tty.h>
#include <sys/ttydefaults.h>
#include <sys/proc.h>
OpenPOWER on IntegriCloud