This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 15/22] Provide uintfptr_t via <sys/types.h>
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Cc: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Mon, 18 Apr 2016 15:29:35 +0200
- Subject: [PATCH 15/22] Provide uintfptr_t via <sys/types.h>
- Authentication-results: sourceware.org; auth=none
- References: <1460986182-11952-1-git-send-email-sebastian dot huber at embedded-brains dot de>
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