diff options
author | bde <bde@FreeBSD.org> | 1997-03-23 03:49:00 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-23 03:49:00 +0000 |
commit | 3676c95c1e887bccd9a3064068e7f428325258bc (patch) | |
tree | 0d99463c2f0031c8ae7f573e1f892b143e6c6112 /sys/pc98/cbus | |
parent | 0d3591bdbd3a026b25e6400f8cc2717489321ee5 (diff) | |
download | FreeBSD-src-3676c95c1e887bccd9a3064068e7f428325258bc.zip FreeBSD-src-3676c95c1e887bccd9a3064068e7f428325258bc.tar.gz |
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.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 4 | ||||
-rw-r--r-- | sys/pc98/cbus/sio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index a545f78..b6c1b7e 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -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> diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index acd1528..53dc54d 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -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> |