From 441999ba9fd1512cefd6f3188e8944f71044a065 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 10 May 2023 23:28:56 +0300 Subject: [PATCH] LibC: add more types to sys/types.h --- libc/include/sys/types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libc/include/sys/types.h b/libc/include/sys/types.h index 14624ff1..87a0d591 100644 --- a/libc/include/sys/types.h +++ b/libc/include/sys/types.h @@ -1,5 +1,6 @@ #pragma once +#include #include #include @@ -7,15 +8,19 @@ __BEGIN_DECLS typedef int32_t blkcnt_t; typedef int32_t blksize_t; +typedef uint64_t clock_t; +typedef int32_t clockid_t; typedef uint64_t dev_t; typedef uint32_t ino_t; typedef uint16_t mode_t; typedef uint32_t nlink_t; typedef int64_t off_t; typedef uint64_t time_t; +typedef uint64_t timer_t; typedef int32_t id_t; typedef id_t pid_t; typedef id_t uid_t; typedef id_t gid_t; +typedef int64_t ssize_t; __END_DECLS \ No newline at end of file