From fc00c656c96528112d05cf0edf8631bd5eaea446 Mon Sep 17 00:00:00 2001 From: Kacper Date: Sun, 7 Dec 2025 20:10:31 +0100 Subject: Add build system scaffolding and libc headers --- include/bits/timespec.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/bits/timespec.h (limited to 'include/bits/timespec.h') 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 directly; use instead." +#endif + +typedef __INT64_TYPE__ time_t; + +struct timespec { + time_t tv_sec; + long tv_nsec; +}; + +#endif -- cgit v1.2.3