diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/eventcount.h | 2 | ||||
-rw-r--r-- | kern/ipc_mig.h | 1 | ||||
-rw-r--r-- | kern/thread.c | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/kern/eventcount.h b/kern/eventcount.h index 7cc82207..598d7e02 100644 --- a/kern/eventcount.h +++ b/kern/eventcount.h @@ -35,6 +35,8 @@ #ifndef _KERN_EVENTCOUNT_H_ #define _KERN_EVENTCOUNT_H_ 1 +#include <kern/lock.h> + /* kernel visible only */ typedef struct evc { diff --git a/kern/ipc_mig.h b/kern/ipc_mig.h index a8ee7869..422e8d84 100644 --- a/kern/ipc_mig.h +++ b/kern/ipc_mig.h @@ -28,6 +28,7 @@ #include <mach/std_types.h> #include <device/device_types.h> +#include <ipc/ipc_thread.h> /* * Routine: mach_msg_send_from_kernel diff --git a/kern/thread.c b/kern/thread.c index de9d1982..23ee8b09 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -32,12 +32,15 @@ */ #include <kern/printf.h> +#include <mach/message.h> #include <mach/std_types.h> #include <mach/policy.h> #include <mach/thread_info.h> #include <mach/thread_special_ports.h> #include <mach/thread_status.h> #include <mach/time_value.h> +#include <mach/vm_prot.h> +#include <mach/vm_inherit.h> #include <machine/vm_param.h> #include <kern/ast.h> #include <kern/counters.h> @@ -59,6 +62,7 @@ #include <kern/slab.h> #include <kern/smp.h> #include <kern/mach_clock.h> +#include <string.h> #include <vm/vm_kern.h> #include <vm/vm_user.h> #include <ipc/ipc_kmsg.h> |