aboutsummaryrefslogtreecommitdiff
path: root/include/mach
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach')
-rw-r--r--include/mach/std_types.defs8
-rw-r--r--include/mach/std_types.h1
2 files changed, 5 insertions, 4 deletions
diff --git a/include/mach/std_types.defs b/include/mach/std_types.defs
index a1f156d9..5d95ab42 100644
--- a/include/mach/std_types.defs
+++ b/include/mach/std_types.defs
@@ -33,12 +33,12 @@
type char = MACH_MSG_TYPE_CHAR;
type short = MACH_MSG_TYPE_INTEGER_16;
type int = MACH_MSG_TYPE_INTEGER_32;
-type int32 = MACH_MSG_TYPE_INTEGER_32;
-type int64 = MACH_MSG_TYPE_INTEGER_64;
+type int32_t = MACH_MSG_TYPE_INTEGER_32;
+type int64_t = MACH_MSG_TYPE_INTEGER_64;
type boolean_t = MACH_MSG_TYPE_BOOLEAN;
type unsigned = MACH_MSG_TYPE_INTEGER_32;
-type unsigned32 = MACH_MSG_TYPE_INTEGER_32;
-type unsigned64 = MACH_MSG_TYPE_INTEGER_64;
+type uint32_t = MACH_MSG_TYPE_INTEGER_32;
+type uint64_t = MACH_MSG_TYPE_INTEGER_64;
/* Get the definitions for natural_t and integer_t */
#include <mach/machine/machine_types.defs>
diff --git a/include/mach/std_types.h b/include/mach/std_types.h
index f78e236a..553bd618 100644
--- a/include/mach/std_types.h
+++ b/include/mach/std_types.h
@@ -37,6 +37,7 @@
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/machine/vm_types.h>
+#include <stdint.h>
typedef vm_offset_t pointer_t;
typedef vm_offset_t vm_address_t;