From f0247081faac6b4c0cbaa1540fc9c10756e5a42e Mon Sep 17 00:00:00 2001 From: JoelWee <32009741+JoelWee@users.noreply.github.com> Date: Mon, 6 Jan 2025 13:17:37 +0000 Subject: [PATCH] Fix after #121482 (#121764) --- libc/src/stdlib/qsort_pivot.h | 2 +- utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libc/src/stdlib/qsort_pivot.h b/libc/src/stdlib/qsort_pivot.h index b7e1b4294f6d61..b27e74663d901e 100644 --- a/libc/src/stdlib/qsort_pivot.h +++ b/libc/src/stdlib/qsort_pivot.h @@ -9,7 +9,7 @@ #ifndef LLVM_LIBC_SRC_STDLIB_QSORT_PIVOT_H #define LLVM_LIBC_SRC_STDLIB_QSORT_PIVOT_H -#include +#include // For size_t namespace LIBC_NAMESPACE_DECL { namespace internal { diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index 15fa4123b75fe1..81309f1e373ac6 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -3481,11 +3481,13 @@ libc_support_library( hdrs = [ "src/stdlib/heap_sort.h", "src/stdlib/qsort_data.h", + "src/stdlib/qsort_pivot.h", "src/stdlib/qsort_util.h", "src/stdlib/quick_sort.h", ], deps = [ ":__support_common", + ":__support_cpp_bit", ":__support_cpp_cstddef", ":__support_macros_attributes", ],