diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-15 22:19:53 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-15 22:19:53 -0400 |
commit | aa2cef6d6a7233467ec7654eccabd1f10bad8fb8 (patch) | |
tree | f5fe72697ddffc34cdad35fd10259183e48aff5a /lib | |
parent | 6e5695a5b8f14bb82b8eede562925e9747d646c1 (diff) |
libc: Add size_t type
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/include/stddef.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/include/stddef.h b/lib/libc/include/stddef.h index 7f7eb43..70b3ccf 100644 --- a/lib/libc/include/stddef.h +++ b/lib/libc/include/stddef.h @@ -30,6 +30,8 @@ #ifndef _STDDEF_H #define _STDDEF_H +#include <bits/_types.h> + #if __cplusplus >= 201103L #define NULL nullptr #elif defined(__cplusplus) @@ -38,4 +40,6 @@ #define NULL ((void *) 0) #endif +typedef __size_t size_t; + #endif /* !_STDDEF_H */ |