summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-28 10:08:11 +0800
committerBernard Xiong <[email protected]>2015-09-28 10:08:11 +0800
commitcfc72ec7139e9345eb463c005d98d6388415a64c (patch)
tree6171b15f0d8a435ce0eb0dca87244d9bcd35dd4c
parent3164e33de1dc7dd6e88dd99f8e7354f5dd5fb09e (diff)
parent53c85fb989a60ef015bbbe3a2541b9ff1020ef15 (diff)
Merge pull request #554 from ArdaFu/master
[libc][dlib] Add missing definition of mode_t
-rw-r--r--components/libc/dlib/sys/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/dlib/sys/types.h b/components/libc/dlib/sys/types.h
index b01d8283d4..3074bd69d0 100644
--- a/components/libc/dlib/sys/types.h
+++ b/components/libc/dlib/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