[PATCH 15/22] Provide uintfptr_t via <sys/types.h>

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Apr 18 13:31:00 GMT 2016


Provide uintfptr_t via <sys/types.h> if __BSD_VISIBLE for BSD
compatibility.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
---
 newlib/libc/include/sys/types.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 8511d49..eef055a 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -106,6 +106,8 @@ typedef	__lwpid_t	lwpid_t;	/* Thread ID (a.k.a. LWP) */
 typedef	__rlim_t	rlim_t;		/* resource limit */
 #define	_RLIM_T_DECLARED
 #endif
+
+typedef	__uintptr_t	uintfptr_t;
 #endif /* __BSD_VISIBLE */
 
 #if __MISC_VISIBLE
-- 
1.8.4.5



More information about the Newlib mailing list