summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-09-02 16:37:17 -0400
committerTom Rini <trini@ti.com>2014-09-02 16:37:17 -0400
commit2c19478e01ab145c8b3a1f5b1beca9958d942e98 (patch)
tree4a0a44f23307f94f8c5672757f27531f10d3301f /arch
parent141e1faec2cd594dafb2edad6da8baa6a681cf37 (diff)
parent2fea4f5addb40d7551ed754175acbec7f2750005 (diff)
downloadblackbird-obmc-uboot-2c19478e01ab145c8b3a1f5b1beca9958d942e98.tar.gz
blackbird-obmc-uboot-2c19478e01ab145c8b3a1f5b1beca9958d942e98.zip
Merge branch 'master' of git://git.denx.de/u-boot-arc
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/include/asm/posix_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/include/asm/posix_types.h b/arch/arc/include/asm/posix_types.h
index 20415f0705..51347a48d4 100644
--- a/arch/arc/include/asm/posix_types.h
+++ b/arch/arc/include/asm/posix_types.h
@@ -16,7 +16,11 @@ typedef int __kernel_pid_t;
typedef unsigned short __kernel_ipc_pid_t;
typedef unsigned short __kernel_uid_t;
typedef unsigned short __kernel_gid_t;
+#ifdef __GNUC__
+typedef __SIZE_TYPE__ __kernel_size_t;
+#else
typedef unsigned int __kernel_size_t;
+#endif
typedef int __kernel_ssize_t;
typedef int __kernel_ptrdiff_t;
typedef long __kernel_time_t;
OpenPOWER on IntegriCloud