Kernel+LibC: Share definitions for sys/time.h

This commit is contained in:
Andreas Kling 2021-08-14 19:24:36 +02:00
commit 6b6eca0631
Notes: sideshowbarker 2024-07-18 06:54:02 +09:00
3 changed files with 24 additions and 15 deletions

View file

@ -22,6 +22,7 @@
#include <Kernel/API/POSIX/sys/mman.h>
#include <Kernel/API/POSIX/sys/socket.h>
#include <Kernel/API/POSIX/sys/stat.h>
#include <Kernel/API/POSIX/sys/time.h>
#include <Kernel/API/POSIX/sys/times.h>
#include <Kernel/API/POSIX/sys/un.h>
#include <Kernel/API/POSIX/sys/utsname.h>
@ -51,14 +52,6 @@ typedef u8 __u8;
typedef int __s32;
typedef short __s16;
typedef u32 useconds_t;
typedef i32 suseconds_t;
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
};
struct iovec {
void* iov_base;
size_t iov_len;