diff options
author | bde <bde@FreeBSD.org> | 1997-03-23 03:37:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-03-23 03:37:54 +0000 |
commit | 0d3591bdbd3a026b25e6400f8cc2717489321ee5 (patch) | |
tree | 6f29bb8eda668548be86212b07bea087a25e6b3d /sys/gnu | |
parent | 9c1cce114fbef8364b2d49669b0215e8bac94fd3 (diff) | |
download | FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.zip FreeBSD-src-0d3591bdbd3a026b25e6400f8cc2717489321ee5.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/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 2 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 | ||||
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index f01c059..3330a22 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -55,7 +55,7 @@ #include <sys/mount.h> #include <sys/buf.h> #include <sys/mbuf.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/disklabel.h> #include <sys/ioctl.h> #include <sys/errno.h> diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index f01c059..3330a22 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -55,7 +55,7 @@ #include <sys/mount.h> #include <sys/buf.h> #include <sys/mbuf.h> -#include <sys/file.h> +#include <sys/fcntl.h> #include <sys/disklabel.h> #include <sys/ioctl.h> #include <sys/errno.h> diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index af4fcc2..10f7728 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id$ + * dgb.c $Id: dgb.c,v 1.23 1997/02/22 09:29:42 peter Exp $ * * Digiboard driver. * @@ -50,7 +50,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/sysctl.h> |