  		"xhyve is a port of FreeBSD's bhyve hypervisor to OS X that\n"
  		"works entirely in userspace and has no other dependencies.\n\n"
  		"Homepage: https://github.com/mist64/xhyve\n"
-@@ -263,8 +264,6 @@ vcpu_thread(void *param)
+@@ -265,8 +266,6 @@ vcpu_thread(void *param)
  
  	vcpu_loop(vcpu, vmexit[vcpu].rip);
  

-void mevent_dispatch(void);
+int mevent_dispatch(void);
+void mevent_exit(void);
diff --git a/include/xhyve/xhyve.h b/include/xhyve/xhyve.h
index 4f85664..f9ae309 100644
--- a/include/xhyve/xhyve.h
+++ b/include/xhyve/xhyve.h
@@ -29,6 +29,7 @@

 {
 	int c, error, gdb_port, bvmcons, fw;
 	int dump_guest_memory, max_vcpus, mptgen;
@@ -951,7 +959,7 @@ main(int argc, char *argv[])
 	/*
 	 * Head off to the main event dispatch loop
 	 */
