diff options
Diffstat (limited to 'mach/mach_init.c')
-rw-r--r-- | mach/mach_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mach/mach_init.c b/mach/mach_init.c index cf8ac3b..8acb71f 100644 --- a/mach/mach_init.c +++ b/mach/mach_init.c @@ -20,6 +20,7 @@ #include <unistd.h> mach_port_t __mach_task_self_; +mach_port_t __mach_host_self_; vm_size_t __vm_page_size = 0; /* Must be data not bss for weak alias. */ weak_alias (__vm_page_size, vm_page_size) @@ -34,6 +35,7 @@ __mach_init (void) kern_return_t err; __mach_task_self_ = (__mach_task_self) (); + __mach_host_self_ = (__mach_host_self) (); __mig_init (0); #ifdef HAVE_HOST_PAGE_SIZE |