summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-07 17:13:45 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-07 17:13:45 +0000
commitbcde4a8cad2cba0e1dd422e4796aed2ddc84d02f (patch)
tree041c062fa79d1aef7eebe6f7baf9109d26e6fd15 /sys/vm
parent1e14f9dc1d41528358c7a2ef673d9a06223e7ff9 (diff)
Always get struct pglist from vm/pglist.h, otherwise old VM compilations
generate redefinition errors.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_page.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index eee0ff4fa51..299ca111e9f 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_page.h,v 1.11 2000/11/10 15:33:11 provos Exp $ */
+/* $OpenBSD: vm_page.h,v 1.12 2001/04/07 17:13:44 niklas Exp $ */
/* $NetBSD: vm_page.h,v 1.24 1998/02/10 14:09:03 mrg Exp $ */
/*
@@ -110,10 +110,8 @@
*/
#include <uvm/uvm_extern.h>
-#include <vm/pglist.h>
-#else
-TAILQ_HEAD(pglist, vm_page);
#endif /* UVM */
+#include <vm/pglist.h>
struct vm_page {
TAILQ_ENTRY(vm_page) pageq; /* queue info for FIFO