[PATCH] RTEMS: Use __uint64_t for __ino_t
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Dec 20 10:03:12 UTC 2018
FreeBSD uses a 64-bit ino_t since 2017-05-23. We need this for the
pipe() support in libbsd.
Signed-off-by: Sebastian Huber <sebastian.huber at embedded-brains.de>
---
newlib/libc/sys/rtems/include/machine/_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index c61d6575d..8e2d9a3ef 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -18,7 +18,7 @@ typedef __int64_t _off_t;
typedef _off_t _fpos_t;
#define __machine_fpos_t_defined
-typedef unsigned long __ino_t;
+typedef __uint64_t __ino_t;
#define __machine_ino_t_defined
typedef __uint32_t __mode_t;
--
2.16.4
More information about the devel
mailing list