This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Phoenix-RTOS: Add caddr_t definition to <sys/types.h>.
- From: Jakub Sejdak <jakub dot sejdak at phoesys dot com>
- To: newlib at sourceware dot org
- Cc: Kuba Sejdak <jakub dot sejdak at phoesys dot com>
- Date: Tue, 28 Jun 2016 10:47:49 +0200
- Subject: [PATCH] Phoenix-RTOS: Add caddr_t definition to <sys/types.h>.
- Authentication-results: sourceware.org; auth=none
From: Kuba Sejdak <jakub.sejdak@phoesys.com>
---
newlib/libc/sys/phoenix/sys/types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/sys/phoenix/sys/types.h b/newlib/libc/sys/phoenix/sys/types.h
index f491bd8..c0c9198 100644
--- a/newlib/libc/sys/phoenix/sys/types.h
+++ b/newlib/libc/sys/phoenix/sys/types.h
@@ -39,6 +39,7 @@ typedef __uint64_t __off64_t;
typedef __uint32_t __key_t;
typedef __uint32_t __useconds_t;
typedef __uint32_t __daddr_t;
+typedef char * caddr_t;
typedef __uint32_t __nlink_t;
typedef __uint8_t __u_char;
typedef unsigned short __u_short;
--
2.7.4