summaryrefslogtreecommitdiff
path: root/time.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-22 19:50:38 +0200
committerAnton Kling <anton@kling.gg>2023-10-22 19:50:38 +0200
commit4e09bca9e34c226b6d7e34b4fa11248405fd988e (patch)
tree80f156b7940d9d19971395f335530170c69516c7 /time.h
Move everything into a new repo.
Diffstat (limited to 'time.h')
-rw-r--r--time.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/time.h b/time.h
new file mode 100644
index 0000000..2d4eef6
--- /dev/null
+++ b/time.h
@@ -0,0 +1,10 @@
+#ifndef TIME_H
+#define TIME_H
+#include <sys/types.h>
+
+typedef int clockid_t;
+struct timespec {
+ time_t tv_sec; // Seconds.
+ long tv_nsec; // Nanoseconds.
+};
+#endif