source: build-files/ports-overlay/emulators/virtualbox-ose-additions/files/patch-src-VBox-Runtime-r0drv-freebsd-the-freebsd-kernel.h @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 12 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 726 bytes
Line 
1--- src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h.orig    2013-03-05 14:28:07.000000000 +0000
2+++ src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h 2013-03-28 13:10:34.000000000 +0000
3@@ -50,6 +50,9 @@
4 #include <sys/unistd.h>
5 #include <sys/kthread.h>
6 #include <sys/lock.h>
7+#if __FreeBSD_version >= 1000030
8+#include <sys/rwlock.h>
9+#endif
10 #include <sys/mutex.h>
11 #include <sys/sched.h>
12 #include <sys/callout.h>
13@@ -64,6 +67,7 @@
14 #include <vm/vm_kern.h>
15 #include <vm/vm_param.h>        /* KERN_SUCCESS ++ */
16 #include <vm/vm_page.h>
17+#include <vm/vm_pageout.h>
18 #include <vm/vm_phys.h>         /* vm_phys_alloc_* */
19 #include <vm/vm_extern.h>       /* kmem_alloc_attr */
20 #include <sys/vmmeter.h>        /* cnt */
Note: See TracBrowser for help on using the repository browser.