diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mn10300/include/asm/posix_types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/posix_types.h b/arch/mn10300/include/asm/posix_types.h index 077567c37798..56ffbc158798 100644 --- a/arch/mn10300/include/asm/posix_types.h +++ b/arch/mn10300/include/asm/posix_types.h | |||
@@ -25,8 +25,13 @@ typedef int __kernel_pid_t; | |||
25 | typedef unsigned short __kernel_ipc_pid_t; | 25 | typedef unsigned short __kernel_ipc_pid_t; |
26 | typedef unsigned short __kernel_uid_t; | 26 | typedef unsigned short __kernel_uid_t; |
27 | typedef unsigned short __kernel_gid_t; | 27 | typedef unsigned short __kernel_gid_t; |
28 | #if __GNUC__ == 4 | ||
29 | typedef unsigned int __kernel_size_t; | ||
30 | typedef signed int __kernel_ssize_t; | ||
31 | #else | ||
28 | typedef unsigned long __kernel_size_t; | 32 | typedef unsigned long __kernel_size_t; |
29 | typedef long __kernel_ssize_t; | 33 | typedef signed long __kernel_ssize_t; |
34 | #endif | ||
30 | typedef int __kernel_ptrdiff_t; | 35 | typedef int __kernel_ptrdiff_t; |
31 | typedef long __kernel_time_t; | 36 | typedef long __kernel_time_t; |
32 | typedef long __kernel_suseconds_t; | 37 | typedef long __kernel_suseconds_t; |