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/vm/vm_mmap.c | |
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/vm/vm_mmap.c')
-rw-r--r-- | sys/vm/vm_mmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index c760938..57e3098 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -38,7 +38,7 @@ * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ * * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 - * $Id$ + * $Id: vm_mmap.c,v 1.62 1997/02/22 09:48:27 peter Exp $ */ /* @@ -54,6 +54,7 @@ #include <sys/resourcevar.h> #include <sys/proc.h> #include <sys/vnode.h> +#include <sys/fcntl.h> #include <sys/file.h> #include <sys/mman.h> #include <sys/conf.h> |