From f3c7d7fbdea1f2bac81909116ddb747a1f8abdf5 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 22 Nov 2023 00:47:55 +0100 Subject: Meta: Cleanup of header files such that they are partially shared The /include directory contains definitons that both the kernel and libc need to be in sync. --- include/sys/types.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/sys/types.h (limited to 'include/sys/types.h') diff --git a/include/sys/types.h b/include/sys/types.h new file mode 100644 index 0000000..26e11b6 --- /dev/null +++ b/include/sys/types.h @@ -0,0 +1,16 @@ +#ifndef TYPES_H +#define TYPES_H +#include +typedef int time_t; +typedef int pid_t; +typedef u16 dev_t; +typedef u16 uid_t; +typedef u16 ino_t; +typedef u16 mode_t; +typedef u16 nlink_t; +typedef i32 gid_t; +typedef u64 off_t; +typedef i64 blksize_t; +typedef i64 blkcnt_t; +typedef u32 suseconds_t; +#endif -- cgit v1.2.3