summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_map.c5
-rw-r--r--vm/vm_object.c4
-rw-r--r--vm/vm_resident.c5
3 files changed, 14 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index 22fa836..47db118 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -53,6 +53,11 @@
#include <vm/vm_kern.h>
#include <ipc/ipc_port.h>
+#if MACH_KDB
+#include <ddb/db_output.h>
+#endif /* MACH_KDB */
+
+
/* Forward declarations */
kern_return_t vm_map_delete(
vm_map_t map,
diff --git a/vm/vm_object.c b/vm/vm_object.c
index 7eae3d7..d83c39f 100644
--- a/vm/vm_object.c
+++ b/vm/vm_object.c
@@ -55,6 +55,10 @@
#include <vm/vm_page.h>
#include <vm/vm_pageout.h>
+#if MACH_KDB
+#include <ddb/db_output.h>
+#endif /* MACH_KDB */
+
void memory_object_release(
ipc_port_t pager,
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index 581a9c4..7cf4fb1 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -58,6 +58,11 @@
#include <vm/vm_user.h>
#endif
+#if MACH_KDB
+#include <ddb/db_output.h>
+#endif /* MACH_KDB */
+
+
/*
* Associated with eacn page of user-allocatable memory is a
* page structure.