diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-15 14:44:20 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-15 15:51:40 +0300 |
commit | 57d2718c0ea15f3dc3f5dddce4c0915a901374db (patch) | |
tree | 743595edaddf3174b7a2973bf97aef1888c5b890 /newlib/libc/include/sys/types.h | |
parent | 365bc664e900fd85e40bf3a938373cc2c7412910 (diff) |
Provide POSIX defined blkcnt_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 d0627fdbe..ac8252ee6 100644 --- a/newlib/libc/include/sys/types.h +++ b/newlib/libc/include/sys/types.h @@ -96,6 +96,11 @@ typedef unsigned int uint; /* System V compatibility */ typedef unsigned long ulong; /* System V compatibility */ #endif +#ifndef _BLKCNT_T_DECLARED +typedef __blkcnt_t blkcnt_t; +#define _BLKCNT_T_DECLARED +#endif + #if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED) typedef _CLOCK_T_ clock_t; #define __clock_t_defined |