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/stdlib/qsort_r.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libc/stdlib/qsort_r.c') diff --git a/lib/libc/stdlib/qsort_r.c b/lib/libc/stdlib/qsort_r.c index 646eeaff..25a3aa81 100644 --- a/lib/libc/stdlib/qsort_r.c +++ b/lib/libc/stdlib/qsort_r.c @@ -25,9 +25,11 @@ Run time: Worst case O(n log n), close to O(n) in the mostly-sorted case. */ +#include "stddef.h" // for NULL + #define _BSD_SOURCE -#include -#include +#include // for qsort_r +#include // for size_t, memcpy #define ntz(x) __builtin_ctzl((x)) -- cgit v1.2.3