diff options
Diffstat (limited to 'include/bits/timespec.h')
| -rw-r--r-- | include/bits/timespec.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/bits/timespec.h b/include/bits/timespec.h new file mode 100644 index 00000000..ebcacf76 --- /dev/null +++ b/include/bits/timespec.h @@ -0,0 +1,15 @@ +#ifndef __BITS_TIMESPEC_H +#define __BITS_TIMESPEC_H + +#ifndef __BITS_TIMESPEC_H_ +#error "Never include <bits/timespec.h> directly; use <time.h> instead." +#endif + +typedef __INT64_TYPE__ time_t; + +struct timespec { + time_t tv_sec; + long tv_nsec; +}; + +#endif |
