mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
This commit is contained in:
parent
3ac4d1ef0c
commit
fe10481de8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24132
4 changed files with 8 additions and 8 deletions
|
@ -43,7 +43,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
|
||||
* $Id: fd.c,v 1.16 1997/02/22 09:43:34 peter Exp $
|
||||
* $Id: fd.c,v 1.17 1997/03/04 06:39:02 kato Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <machine/clock.h>
|
||||
#include <machine/ioctl_fd.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.17 1997/02/22 09:43:44 peter Exp $
|
||||
* $Id: sio.c,v 1.18 1997/03/06 15:07:04 kato Exp $
|
||||
*/
|
||||
|
||||
#include "opt_comconsole.h"
|
||||
|
@ -125,7 +125,7 @@
|
|||
#include <sys/proc.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
|
||||
* $Id: fd.c,v 1.16 1997/02/22 09:43:34 peter Exp $
|
||||
* $Id: fd.c,v 1.17 1997/03/04 06:39:02 kato Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -59,7 +59,7 @@
|
|||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <machine/clock.h>
|
||||
#include <machine/ioctl_fd.h>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.17 1997/02/22 09:43:44 peter Exp $
|
||||
* $Id: sio.c,v 1.18 1997/03/06 15:07:04 kato Exp $
|
||||
*/
|
||||
|
||||
#include "opt_comconsole.h"
|
||||
|
@ -125,7 +125,7 @@
|
|||
#include <sys/proc.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/fcntl.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
|
|
Loading…
Reference in a new issue