Don't include <sys/ioctl.h> in the kernel. Stage 6: include
<sys/filio.h>, <sys/sockio.h> and <sys/ttycom.h> instead of <sys/ioctl.h> in a couple of files. This is still only 1/3 as spammish as <sys/ioctl.h> - 5 or 6 old tty ioctl headers aren't needed.
This commit is contained in:
parent
afd2f6c218
commit
528f627f00
@ -37,7 +37,7 @@
|
||||
*
|
||||
* @(#)bpf.c 8.2 (Berkeley) 3/28/94
|
||||
*
|
||||
* $Id: bpf.c,v 1.29 1997/02/22 09:40:52 peter Exp $
|
||||
* $Id: bpf.c,v 1.30 1997/03/23 03:37:14 bde Exp $
|
||||
*/
|
||||
|
||||
#include "bpfilter.h"
|
||||
@ -58,7 +58,9 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/ttycom.h>
|
||||
|
||||
#include <sys/fcntl.h>
|
||||
#if defined(sparc) && BSD < 199103
|
||||
|
@ -24,7 +24,9 @@
|
||||
#include <sys/buf.h>
|
||||
#include <sys/protosw.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/filio.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <sys/ttycom.h>
|
||||
#include <sys/errno.h>
|
||||
#include <sys/syslog.h>
|
||||
#include <sys/select.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user