summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mach/port.h2
-rw-r--r--include/sys/types.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mach/port.h b/include/mach/port.h
index 6dafb2f..53f6071 100644
--- a/include/mach/port.h
+++ b/include/mach/port.h
@@ -39,7 +39,7 @@
#include <mach/machine/vm_types.h>
-typedef natural_t mach_port_t;
+typedef vm_offset_t mach_port_t;
typedef mach_port_t *mach_port_array_t;
typedef int *rpc_signature_info_t;
diff --git a/include/sys/types.h b/include/sys/types.h
index d79e077..19e7b24 100644
--- a/include/sys/types.h
+++ b/include/sys/types.h
@@ -30,7 +30,7 @@
#ifndef _SIZE_T
#define _SIZE_T
-typedef natural_t size_t;
+typedef unsigned long size_t;
#endif
#ifndef _SSIZE_T