diff options
author | bde <bde@FreeBSD.org> | 1997-03-24 11:52:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-24 11:52:29 +0000 |
commit | a0d9474a34143dc9663d6ae183a89674c91bf90e (patch) | |
tree | f33a7dd82dcb9260a05b5f0fca34ee03fbe645ec /sys/kern/sys_pipe.c | |
parent | f62eb55e940cabd9e329f3c32c6c592554ad6354 (diff) | |
download | FreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.zip FreeBSD-src-a0d9474a34143dc9663d6ae183a89674c91bf90e.tar.gz |
Don't include <sys/ioctl.h> in the kernel. Stage 4: include
<sys/ttycom.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h>
in miscellaneous files. Most of these files have nothing to do
with ttys but need to include <sys/ttycom.h> to get the definitions
of TIOC[SG]PGRP which are (ab)used to convert F[SG]ETOWN fcntls into
ioctls.
Diffstat (limited to 'sys/kern/sys_pipe.c')
-rw-r--r-- | sys/kern/sys_pipe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 71bbed0..5beac60 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -16,7 +16,7 @@ * 4. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: sys_pipe.c,v 1.25 1997/03/22 06:52:57 bde Exp $ + * $Id: sys_pipe.c,v 1.26 1997/03/23 03:36:24 bde Exp $ */ #ifndef OLD_PIPE @@ -60,7 +60,8 @@ #include <sys/stat.h> #include <sys/filedesc.h> #include <sys/malloc.h> -#include <sys/ioctl.h> +#include <sys/filio.h> +#include <sys/ttycom.h> #include <sys/stat.h> #include <sys/select.h> #include <sys/signalvar.h> |