From 7142c0c83b124e0f976d168aa8567e5772264324 Mon Sep 17 00:00:00 2001 From: Aetias Date: Mon, 8 Apr 2024 23:22:30 +0200 Subject: [PATCH] Add `size_t` --- libs/c/include/string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/c/include/string.h b/libs/c/include/string.h index 1483e8e9..cd56cef6 100644 --- a/libs/c/include/string.h +++ b/libs/c/include/string.h @@ -1,6 +1,8 @@ #ifndef _C_STRING_H #define _C_STRING_H +typedef unsigned int size_t; + size_t strlen(const char *str); char* strcpy(char *dest, const char *src); char* strncpy(char *dest, const char *src, size_t num);