summaryrefslogtreecommitdiff
path: root/src/libc/include/sys/time.h
diff options
context:
space:
mode:
authordzwdz2023-08-24 19:10:35 +0200
committerdzwdz2023-08-24 19:10:35 +0200
commit3e09037780ca95633749be3acd52e817eed7f98c (patch)
tree83bcf5026cd4383809c81c5f38473a6b1e46755e /src/libc/include/sys/time.h
parent292b2386d766826b15f5ca084d37aa2c485fdda6 (diff)
libc: get most of binutils to compile
Diffstat (limited to 'src/libc/include/sys/time.h')
-rw-r--r--src/libc/include/sys/time.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libc/include/sys/time.h b/src/libc/include/sys/time.h
index e69de29..54df6b3 100644
--- a/src/libc/include/sys/time.h
+++ b/src/libc/include/sys/time.h
@@ -0,0 +1,8 @@
+#pragma once
+#include <errno.h>
+#include <sys/types.h>
+
+struct timeval {
+ time_t tv_sec;
+ suseconds_t tv_usec;
+};