Browse Source

[Libc][Minilibc] Add type 'clock_t' to minilibc.

armink 7 years ago
parent
commit
0c4922becb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/libc/compilers/minilibc/sys/types.h

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

@@ -15,6 +15,8 @@ typedef int mode_t;
 typedef unsigned long clockid_t;
 typedef int pid_t;
 
+typedef	unsigned long clock_t; /* clock() */
+
 #ifndef NULL
 #define NULL        (0)
 #endif