Don't depend on <sys/mount.h> including <sys/socket.h>.

This commit is contained in:
Bruce Evans 1998-03-28 12:04:40 +00:00
parent 8a6472b723
commit 771b51ef7b
4 changed files with 8 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
* $Id: vfs_subr.c,v 1.144 1998/03/19 18:46:58 dyson Exp $
* $Id: vfs_subr.c,v 1.145 1998/03/19 22:48:16 dyson Exp $
*/
/*
@ -51,6 +51,7 @@
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/socket.h>
#include <sys/vnode.h>
#include <sys/stat.h>
#include <sys/buf.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
* $Id: vfs_subr.c,v 1.144 1998/03/19 18:46:58 dyson Exp $
* $Id: vfs_subr.c,v 1.145 1998/03/19 22:48:16 dyson Exp $
*/
/*
@ -51,6 +51,7 @@
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/socket.h>
#include <sys/vnode.h>
#include <sys/stat.h>
#include <sys/buf.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
* $Id: nfs_vnops.c,v 1.80 1998/03/07 21:36:06 dyson Exp $
* $Id: nfs_vnops.c,v 1.81 1998/03/08 09:57:57 julian Exp $
*/
@ -54,6 +54,7 @@
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/namei.h>
#include <sys/socket.h>
#include <sys/vnode.h>
#include <sys/dirent.h>
#include <sys/fcntl.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95
* $Id: nfs_vnops.c,v 1.80 1998/03/07 21:36:06 dyson Exp $
* $Id: nfs_vnops.c,v 1.81 1998/03/08 09:57:57 julian Exp $
*/
@ -54,6 +54,7 @@
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/namei.h>
#include <sys/socket.h>
#include <sys/vnode.h>
#include <sys/dirent.h>
#include <sys/fcntl.h>