kernel - Include headers declaring vm_page_t in lwbuf headers
authorSamuel J. Greear <sjg@thesjg.com>
Fri, 19 Mar 2010 17:03:56 +0000 (11:03 -0600)
committerSamuel J. Greear <sjg@thesjg.com>
Fri, 19 Mar 2010 17:03:56 +0000 (11:03 -0600)
This commit unbreaks buildworld on i386.

Reported-by: Jan Lentfer
sys/cpu/i386/include/lwbuf.h
sys/cpu/x86_64/include/lwbuf.h

index 022cdb9..97cd516 100644 (file)
@@ -48,6 +48,9 @@
 #ifndef _VM_PMAP_H_
 #include <vm/pmap.h>
 #endif
+#ifndef _VM_VM_PAGE_H_
+#include <vm/vm_page.h>
+#endif
 #ifndef _MACHINE_ATOMIC_H_
 #include <machine/atomic.h>
 #endif
index fbbecd0..2554bbe 100644 (file)
@@ -45,6 +45,9 @@
 #ifndef _VM_PMAP_H_
 #include <vm/pmap.h>
 #endif
+#ifndef _VM_VM_PAGE_H_
+#include <vm/vm_page.h>
+#endif
 #ifndef _MACHINE_ATOMIC_H_
 #include <machine/atomic.h>
 #endif