소스 검색

[components] add definition of mode_t for armlibc.

pangwei 10 년 전
부모
커밋
b5add19b0e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      components/libc/armlibc/sys/types.h

+ 2 - 0
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