Subject: Re: 1.4.3: kern/uipc_syscalls.c needs vm/vm_param.h
To: None <sjg@zen.quick.com.au>
From: Simon J. Gerraty <sjg@quick.com.au>
List: tech-kern
Date: 07/29/2001 01:08:17
> So, I just updated my 1.4.x tree and config'd my kernel.
> 
> ../../../../kern/uipc_syscalls.c: In function `sockargs':
> ../../../../kern/uipc_syscalls.c:1037: `PAGE_SIZE' undeclared (first use in this function)

Ok, this is the patch that gets it compiling for me.  Anything wrong
with this?

Index: uipc_syscalls.c
===================================================================
RCS file: /cvsroot/syssrc/sys/kern/uipc_syscalls.c,v
retrieving revision 1.41.2.2
diff -u -p -r1.41.2.2 uipc_syscalls.c
--- uipc_syscalls.c	2001/07/19 13:52:19	1.41.2.2
+++ uipc_syscalls.c	2001/07/29 08:07:19
@@ -69,6 +69,10 @@
 #include <sys/mount.h>
 #include <sys/syscallargs.h>
 
+#include <vm/vm.h>
+#include <uvm/uvm_extern.h>
+#include <vm/vm_param.h>
+     
 /*
  * System call interface to the socket abstraction.
  */