summaryrefslogtreecommitdiff
path: root/kernel/libc
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-11-15 02:43:03 +0100
committerAnton Kling <anton@kling.gg>2023-11-15 02:55:54 +0100
commit6747f9407a061684c2fba837541c254f48bfcff0 (patch)
treef4d323bb6569ce755ae6425488c211387849a2f7 /kernel/libc
parent6fc8ef497409f83201aa92094d725407861881e7 (diff)
VFS: Add stat
Diffstat (limited to 'kernel/libc')
-rw-r--r--kernel/libc/include/time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/libc/include/time.h b/kernel/libc/include/time.h
index 4e356d1..044e70f 100644
--- a/kernel/libc/include/time.h
+++ b/kernel/libc/include/time.h
@@ -1,6 +1,9 @@
+#ifndef TIME_H
+#define TIME_H
#include <types.h>
struct timespec {
time_t tv_sec; // Seconds.
long tv_nsec; // Nanoseconds.
};
+#endif