diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | device/dev_hdr.h | 1 | ||||
-rw-r--r-- | include/mach/mach_traps.h | 2 | ||||
-rw-r--r-- | kern/syscall_subr.h | 2 |
4 files changed, 6 insertions, 1 deletions
@@ -74,6 +74,7 @@ * kern/zalloc.c: Likewise. * kern/zalloc.h: Likewise. * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. + * device/dev_hdr.h: Include <ipc/ipc_types.h>. * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and @@ -85,6 +86,7 @@ * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. * kern/ipc_tt.h: Include <mach/mach_types.h>. * kern/sched.h: Include <kern/kern_types.h>. + * kern/syscall_subr.h: Include <kern/kern_types.h>. * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... * ipc/ipc_hash.h: ... into here. diff --git a/device/dev_hdr.h b/device/dev_hdr.h index 7384766..d5b8770 100644 --- a/device/dev_hdr.h +++ b/device/dev_hdr.h @@ -56,6 +56,7 @@ #ifndef _DEVICE_DEV_HDR_H_ #define _DEVICE_DEV_HDR_H_ +#include <ipc/ipc_types.h> #include <mach/port.h> #include <kern/lock.h> #include <kern/queue.h> diff --git a/include/mach/mach_traps.h b/include/mach/mach_traps.h index d18385d..e6ea3a0 100644 --- a/include/mach/mach_traps.h +++ b/include/mach/mach_traps.h @@ -59,7 +59,7 @@ mach_port_t mach_task_self () { return MACH_PORT_NULL; } #else /* LINTLIBRARY */ - (self); + (void); #endif /* LINTLIBRARY */ mach_port_t mach_host_self diff --git a/kern/syscall_subr.h b/kern/syscall_subr.h index 4ac9489..2d2da14 100644 --- a/kern/syscall_subr.h +++ b/kern/syscall_subr.h @@ -24,6 +24,8 @@ * the rights to redistribute these changes. */ +#include <kern/kern_types.h> + #ifndef _KERN_SYSCALL_SUBR_H_ #define _KERN_SYSCALL_SUBR_H_ |