瀏覽代碼

[libc] Add more typedef in minilibc.

Bernard Xiong 6 年之前
父節點
當前提交
41f2f1829f
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      components/libc/compilers/minilibc/sys/types.h

+ 10 - 0
components/libc/compilers/minilibc/sys/types.h

@@ -15,6 +15,16 @@ typedef int mode_t;
 typedef unsigned long clockid_t;
 typedef int pid_t;
 
+typedef int gid_t;
+typedef int uid_t;
+typedef int dev_t;
+typedef int ino_t;
+typedef int mode_t;
+typedef int caddr_t;
+
+typedef unsigned int wint_t;
+typedef unsigned long useconds_t;
+
 typedef	unsigned long clock_t; /* clock() */
 
 #ifndef NULL