summaryrefslogtreecommitdiff
path: root/src/libc/include/sys/time.h
diff options
context:
space:
mode:
authordzwdz2023-12-25 18:36:02 +0100
committerdzwdz2023-12-25 18:36:02 +0100
commit4e1a6f1b3c543b9fbeb882a9e97551f7c58ca65a (patch)
tree8c2048c751db8b98e3033a61b6ad5bbd11a303a9 /src/libc/include/sys/time.h
parent64d4330810a37dd9c41a82ae6cc420850ca1e7da (diff)
ports: curl :^)
had to do a lot of hacky stuff, but it's there. worked on this on and off for a while now
Diffstat (limited to 'src/libc/include/sys/time.h')
-rw-r--r--src/libc/include/sys/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libc/include/sys/time.h b/src/libc/include/sys/time.h
index 54df6b3..5e00fe9 100644
--- a/src/libc/include/sys/time.h
+++ b/src/libc/include/sys/time.h
@@ -2,6 +2,11 @@
#include <errno.h>
#include <sys/types.h>
+typedef long long off_t;
+typedef int64_t time_t;
+typedef int64_t suseconds_t;
+typedef uint64_t clock_t;
+
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;