From 169daa11155988a210fac949297381743f3cb400 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 23:14:53 +0100 Subject: feat: clang-tidy fixes --- lib/libc/string/strndup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libc/string/strndup.c') diff --git a/lib/libc/string/strndup.c b/lib/libc/string/strndup.c index 318561ca..18d1a718 100644 --- a/lib/libc/string/strndup.c +++ b/lib/libc/string/strndup.c @@ -1,4 +1,6 @@ -#include // for NULL, malloc +#include "stddef.h" // for NULL + +#include // for malloc #include // for memcpy, size_t, strndup char *strndup(const char *s, size_t size) -- cgit v1.2.3