From 4183b6b62220c657b2935fc1fe62757684314fe9 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 19 May 1998 07:13:21 +0000 Subject: [PATCH] Make the previous commit compile.. --- sys/vm/vm_mmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index ada1df653e79..979755e736b7 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: vm_mmap.c,v 1.75 1998/03/12 19:36:18 guido Exp $ + * $Id: vm_mmap.c,v 1.76 1998/05/18 18:26:27 guido Exp $ */ /* @@ -58,6 +58,7 @@ #include #include #include +#include #include #include @@ -299,6 +300,7 @@ mmap(p, uap) if ((flags & MAP_SHARED) != 0 || (vp->v_type == VCHR && disablexworkaround)) { if ((fp->f_flag & FWRITE) != 0) { + struct vattr va; if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p)))