summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorpangwei <[email protected]>2015-05-21 09:18:05 +0800
committerpangwei <[email protected]>2015-05-21 09:18:05 +0800
commitb5add19b0e6d25ff6b6d64d09aa7a52ea01d857c (patch)
tree0056747318bf5d7c563cb563fdd0ee73479173f1 /components
parentbe7b8421a51da1993cd48ef5a8e5e19cbc1343dc (diff)
[components] add definition of mode_t for armlibc.
Diffstat (limited to 'components')
-rw-r--r--components/libc/armlibc/sys/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/armlibc/sys/types.h b/components/libc/armlibc/sys/types.h
index b01d8283d4..3074bd69d0 100644
--- a/components/libc/armlibc/sys/types.h
+++ b/components/libc/armlibc/sys/types.h
@@ -9,4 +9,6 @@ typedef rt_int32_t key_t; /* Used for interprocess communication. */
typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */
typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */
+typedef int mode_t;
+
#endif