summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/rtems
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-15 13:44:20 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-04-15 14:51:40 +0200
commit57d2718c0ea15f3dc3f5dddce4c0915a901374db (patch)
tree743595edaddf3174b7a2973bf97aef1888c5b890 /newlib/libc/sys/rtems
parent365bc664e900fd85e40bf3a938373cc2c7412910 (diff)
downloadcygnal-57d2718c0ea15f3dc3f5dddce4c0915a901374db.tar.gz
cygnal-57d2718c0ea15f3dc3f5dddce4c0915a901374db.tar.bz2
cygnal-57d2718c0ea15f3dc3f5dddce4c0915a901374db.zip
Provide POSIX defined blkcnt_t in <sys/types.h>
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r--newlib/libc/sys/rtems/include/machine/_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index 15de3ce58..3dbcb3db5 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -4,7 +4,9 @@
#include <machine/_default_types.h>
typedef __int32_t blksize_t;
-typedef __int32_t blkcnt_t;
+
+typedef __int32_t __blkcnt_t;
+#define __machine_blkcnt_t_defined
typedef __uint64_t __dev_t;
#define __machine_dev_t_defined