diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-15 14:44:21 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-15 15:51:40 +0300 |
commit | c5d5030aea7585b86a4fe6e3dec068b0e720e8a2 (patch) | |
tree | 60144668fa00f5910ae13482a44874c409ab3658 /newlib/libc/include/sys/types.h | |
parent | 57d2718c0ea15f3dc3f5dddce4c0915a901374db (diff) |
Provide POSIX defined blksize_t in <sys/types.h>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/include/sys/types.h')
-rw-r--r-- | newlib/libc/include/sys/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index ac8252ee6..24d90cd34 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -101,6 +101,11 @@ typedef __blkcnt_t blkcnt_t; #define _BLKCNT_T_DECLARED #endif +#ifndef _BLKSIZE_T_DECLARED +typedef __blksize_t blksize_t; +#define _BLKSIZE_T_DECLARED +#endif + #if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED) typedef _CLOCK_T_ clock_t; #define __clock_t_defined |