diff options
| author | Arda <[email protected]> | 2015-09-26 23:39:04 +0800 |
|---|---|---|
| committer | Arda <[email protected]> | 2015-09-26 23:39:04 +0800 |
| commit | 53c85fb989a60ef015bbbe3a2541b9ff1020ef15 (patch) | |
| tree | eaddfcce1168933276a06eb39e84b49e201c5060 /components/libc | |
| parent | 090153f94f52cc74906dd5f4cfc893493755c0a2 (diff) | |
[libc][dlib] Add missing definition of mode_t
For using pthread with IAR tool chain
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/dlib/sys/types.h | 2 |
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 |
