Cc: Blue Swirl blauwirbel@gmail.com Signed-off-by: Andreas Färber andreas.faerber@web.de --- include/arch/ppc/types.h | 2 ++ include/arch/sparc32/types.h | 2 ++ include/arch/sparc64/types.h | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/arch/ppc/types.h b/include/arch/ppc/types.h index cb999dc..d6df2a1 100644 --- a/include/arch/ppc/types.h +++ b/include/arch/ppc/types.h @@ -18,11 +18,13 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; +typedef unsigned long uintptr_t;
typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; +typedef long intptr_t; #endif
/* endianess */ diff --git a/include/arch/sparc32/types.h b/include/arch/sparc32/types.h index 3f89da4..500bcd1 100644 --- a/include/arch/sparc32/types.h +++ b/include/arch/sparc32/types.h @@ -18,11 +18,13 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; +typedef unsigned long uintptr_t;
typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; +typedef long intptr_t; #endif
/* endianess */ diff --git a/include/arch/sparc64/types.h b/include/arch/sparc64/types.h index 67fea5c..112b53e 100644 --- a/include/arch/sparc64/types.h +++ b/include/arch/sparc64/types.h @@ -18,11 +18,13 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; +typedef unsigned long uintptr_t;
typedef signed char int8_t; typedef short int16_t; typedef int int32_t; typedef long long int64_t; +typedef long intptr_t; #endif
/* endianess */