libc: add time_t and struct timespec definitions
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
#ifndef TIME_H_
|
||||
#define TIME_H_
|
||||
|
||||
typedef long long time_t;
|
||||
|
||||
struct timespec {
|
||||
time_t tv_sec;
|
||||
long long tv_nsec;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user