d555b520b3
Should fix part of pkg/10497.
32 lines
886 B
Text
32 lines
886 B
Text
$NetBSD: patch-aq,v 1.1 2000/07/30 02:45:41 jlam Exp $
|
|
|
|
--- sysdeps/freebsd/procmap.c.orig Thu May 27 14:56:48 1999
|
|
+++ sysdeps/freebsd/procmap.c Sat Jul 29 22:09:34 2000
|
|
@@ -32,9 +32,13 @@
|
|
#include <sys/param.h>
|
|
#include <sys/proc.h>
|
|
#include <sys/resource.h>
|
|
+#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000)
|
|
#include <vm/vm_object.h>
|
|
#include <vm/vm_prot.h>
|
|
#include <vm/vm_map.h>
|
|
+#else
|
|
+#include <uvm/uvm_extern.h>
|
|
+#endif
|
|
|
|
#include <sys/vnode.h>
|
|
#include <sys/mount.h>
|
|
@@ -46,9 +50,12 @@
|
|
#include <sys/user.h>
|
|
#endif
|
|
#include <sys/sysctl.h>
|
|
+#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000)
|
|
#include <vm/vm.h>
|
|
+#endif
|
|
|
|
-#if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
|
|
+#if defined(__NetBSD__) && \
|
|
+ (__NetBSD_Version__ >= 104000000) && (__NetBSD_Version < 105020000)
|
|
/* Fixme ... */
|
|
#undef _KERNEL
|
|
#define _UVM_UVM_AMAP_I_H_ 1
|